Home > Web Front-end > HTML Tutorial > css犯错的地方_html/css_WEB-ITnose

css犯错的地方_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:07:03
Original
938 people have browsed it

1. clip属性要求元素的position必须是absolute, 而设置成absolute以后,该元素就从正常的文档流中拿走了。。切记。

2. 居中效果:margin: 0 auto 是放在元素身上。并不是加在它的父元素之上。。




Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template