html5 css3 设计模式,html5+css3设计模式
html5+css3设计模式
1 简化的css
css基础
45个常用的CSS属性+4中元素(行内,行内块级,块式,表格)+5中定位思想(静态,相对,绝对,固定,浮动)形成多种多样的设计模式。
小技巧:在属性名称之前加1(或任意字符),可以禁用一个规则,这种规则失效只针对一种规则,用来调试。如1background-color:white。
CSS常用属性:
display margin text-indent
visibility margin-left text-align
float margin-right margin-top color
clear margin-bottom font
position borderfont-family
z-indexborder-leftfont-size
overflowborder-left-colorfont-style
border-left-width font-variant
border-left-stylefont-weight
leftborder-righttext-decoration
rightborder-right-colortext-transform
widthborder-right-width
min-widthborder-right-stylevertical-align
max-widthborder-topline-height
topborder-top-colorwhite-space
bottomborder-top-widthword-spacing
heightborder-top-styleetter-spacing
min-heightborder-bottomdirection
max-heightborder-bottom-color unicode-bidi
border-bottom-width
border-bottom-style
paddinglist-style
padding-leftlist-style-type
padding-rightlist-style-position
padding-bottomlist-style-image
background table-layout
background-color
background-image page-break-after
background-repeat page-break-before
background-position
css常用属性与值
总结
以上是生活随笔为你收集整理的html5 css3 设计模式,html5+css3设计模式的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: html5 像素人物,HTML5 Can
- 下一篇: VS+Qt modules项目后期勾选N