Home  >  Article  >  Web Front-end  >  CSS设计指南笔记_html/css_WEB-ITnose

CSS设计指南笔记_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:46:09856browse

1.border中,solid为实线,dashed为虚线

2.clear为清楚浮动

3.position有四种值:

static。正常文档流

relative。相对上下左右的位置

absolute。绝对定位,针对body或父级元素定位

fix:固定定位,不随滚动条滚动

4.display:是否显示,不显示的时候不占据空间

visibility:是否可见,不可见的时候占据空间

5.background-repeat:背景图片是否重复

repeat。默认

repeat-x

repeat-y

no repeat。不重复

6.background-size:背景图片尺寸

cover。使图片保持宽高比完全填充背景区


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