Home >Web Front-end >HTML Tutorial >The order meaning of styles in padding in css_html/css_WEB-ITnose

The order meaning of styles in padding in css_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:56:111325browse

4种可能的情况,举例说明:padding:10px;                           四个内边距都是10pxpadding:5px 10px;                  上下5px 左右10pxpadding:5px 10px 15px;             上5px 右10px 下15px   左因为缺省与右相等,则为10pxpadding:5px 10px 15px 20px;     上5px 右10px 下15px  左20px

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