HTML+css基础认识
2020-12-13 05:36
标签:style c tar ext color a 标签:
css属性:font-family,font-size,font-weight,font-style,color,text-decoration,text-align:justify;letter-spacing,word-spacing,
css属性:color,text-decoration,
css属性:padding,margin,vertical-align:text-bottom/text-top/middle;
css属性:back-ground-color:transparent;
type:text,radio,checkbox,password,submit,reset,image,textarea,number,range,color,
伪元素:p:first-letter{} div:first-child{} a:link{} a:visited{} a:hover{}
a:focus{} a:active{} 属性选择器:img[width]{} 兄弟选择器:h1+p{} (选择所有紧跟在一个 元素) 派生选择器:div#greentea>blockquote p:first-line{} 图片替换:Head Line
span{display:none;}
body{background-image:url();
background-repeat:no-repeat;} 滑动门:
#menu ul li a{display:block;
line-height:35px;
color:#ddd;
text-decoration:none;
padding:0 0 0 14px;} #menu ul
li a:hover{color:#fff;
background:url() no-repeat right top;} #menu ul li a
strong{display:block;
padding:0 14px 0 0;}
(IE中存在bug需增加#menu ul li a{float:left;}) HTML+css基础认识,搜素材,soscw.com HTML+css基础认识 标签:style c tar ext color a 原文地址:http://www.cnblogs.com/happy-blo/p/3737721.html
css属性:border-collapse:collapse; table-layout:fixed; vertical-align:middle;
后的