The following is the quoted content:
<style> div.bg{background:#ffc20e;width:50%} b{display:block;} /*Convert all B tags into block-level elements*/ div b.topb b,div b.bottomb b{height:1px;overflow:hidden;background:#ffc20e;} /*The css attribute value of the b tag with the class name topb/bottomb in the div tag - the height is 1px, the overflow part is hidden, and the background color is the same as the background color of div.bg*/ div b.topb,div b.bottomb{ background-color:white} /*The background color of the class name topb/bottomb in the div tag must be consistent with the background color of the body*/ b.t1{margin:0 5px} /*The label margin value will determine how much of the overflow value is hidden*/ b.t2{margin:0 3px} b.t3{margin:0 2px} b.t4{margin:0 1px;height:2px;} </style> <div align="center"> <div class="bg"> <b class="topb"><!--**The b tag contained in this b tag needs to be overflow hidden**--> <b class="t1"></b> <b class="t2"></b> <b class="t3"></b> <b class="t4"></b> </b> <br /> This code is collected and compiled from the Internet by the Web Teaching Network. Thank you for your support! <br /> <br /> <b class="bottomb"> <b class="t4"></b> <b class="t3"></b> <b class="t2"></b> <b class="t1"></b> </b> </div> </div> |