Small css practice summary

1.div horizontal center: / * set the width div, margin: Auto 0; * /
2.div on one line: / * a float: left; * /

Align = left-3.text : / label * back the contents centered horizontally; * /
4.align: / label * centrally behind the horizontal; * /

Align = left-5.vertical: Middle: / * element (centered vertically) in the middle of the parent element; * /

6.transition: 0.5s; / enlarged image time required *; * /
7.transform: Scale (1.05); / * number of times larger image; * /

Guess you like

Origin www.cnblogs.com/chenJieLing/p/11693729.html