Ul li conducted using pictures and layout

Li and ul performed using a floating layout (adaptive)

1 Photo two rows:
first width of the box to give 100%

wrapping a div ul, the amount of first well width and height of the box, and setting, margin 0 auto box centered

Each li left floating, if a spacer to give a margin-right, pseudo-nth-child class selector margin would not be needed and selected elements
to remove certain properties (such as nth-child (n + 4) you can select the first four to the last li)

 

 

 

Guess you like

Origin www.cnblogs.com/wanghao1994/p/12028712.html