Home  >  Article  >  Web Front-end  >  CSS2 writing order_html/css_WEB-ITnose

CSS2 writing order_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:06:42856browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn