Home > Article > Web Front-end > CSS2 writing order_html/css_WEB-ITnose
1. Position attributes (display, float, position, top, right, z-index, visibility, clear, list-style, etc.)
2. Self-attributes (width, height, line-height, margin, padding, border, overflow, min-width, etc.)
3. Text series (font, color, text-align, text-decoration, vertical-align, white-space, letter-spacing, background, etc.)
If you want to use the browser's private properties, put them first.