Can Table achieve this effect? Each row has a background color, and there is a gap between the upper and lower rows. I just want to know if Table can achieve this?
It can be implemented, code reference
<table style="width:300px;border:1px solid black;"> <tr style="display:block;margin:0 0 20px 0;background:grey;"><td>aaa</td></tr> <tr style="display:block;margin:0 0 20px 0;background:yellow;"><td>aaa</td></tr> </table>
Spacing between upper and lower lines Control by margin
I don’t see anything special
Can 123456
Table achieve this effect, each row There is a background color, and there is a gap between the upper and lower rows. I want to know if Table can achieve this?