84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
类似这种条目多的话显示横向滚动条怎么实现
This...
Come and look at the code; communicate at any time:
HTML:
<p> <ul> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> </ul> </p>
CSS:
p{ width: 996px; height: 120px; overflow-x:auto; overflow-y:hidden; } ul{ width: 1990px; } li{ width: 220px; height: 300px; margin: 10px; float: left; background: red; }
ul li writes and then li float, display block
In the same building, put another p on the outer layer, and set the overflow-x of the outer p: auto
This...
Come and look at the code; communicate at any time:
HTML:
CSS:
ul li writes and then li float, display block
In the same building, put another p on the outer layer, and set the overflow-x of the outer p: auto