摘要:
23.1列表图片1.内边距与外边距ul{ list-style-type:none; margin:0; padding:0;} ul{ list-style-type:none; margin:0; padding:0; line-height:150%;}ul li{ krgound:url(x 阅读全文
摘要:
22.11.设定颜色红色的几种合法定义:#fOO#ffOOOOredred(255,0,0)red(100%,0%,0%)2.十六进制三元组第一个字节:红色的值 二 绿 三 蓝简化写法:#cccccc 可写成#ccc,#ff6633 可写成#f633.17种具名颜色:黑色 black 000000藏 阅读全文
摘要:
20.1ID与类(class)1.id是唯一的,类是多项的2.id选择器: 适合所有h2标题 h2{ color:#333;font-size:16px;}只适合title的h2标题h2#title{ color:#eee;}3.结合多个class和idul#drinks{ color:red;}. 阅读全文
摘要:
19.1Filter属性介绍格式:filter:xxxxx(xxx=xx);如:filter:alpha(opacity=50);filter:xxxxx(xxx=xx,xxx=xx);如:filter:alpha(opacity=50,style=2); 19.2Alpha滤镜的使用属性:opac 阅读全文
摘要:
18.1css中链接的使用超链接伪类属性:a:link 表示该链接文字尚未被点选a:visited 表示该链接文字已被点选过a:active 表示该链接文字正被点选,但未被放开a:hover 表示当鼠标停留在文字上 18.2css中光标的使用属性:cursor auto 光标是手指 crosshai 阅读全文
摘要:
17.1css中区块的使用width 像素/百分比 区块的宽度 autoheight ........... 高度 auto min-height ............ 最小高度 automax-height ............ 最大高度 automin-width ........... 阅读全文
摘要:
16.1css中的边框的使用属性:border-color 十六进制 上、右、下、左线颜色 英文名称 border-color:red; 三原色 (四边为红) border-color:red green; (上下红,左右绿) border-color:red green blue; (上红,左右绿 阅读全文
摘要:
14.1css中长度和颜色in 英寸cm 公分mm 公里cm 以目前高度为单位ex 以小写字母高度为单位pt 1pt/72英寸pc 1pc/12ptpx 像素(推荐使用)十六进制 如:color:#ff0000颜色名称 如:color:red三原色单位 如:rgb(255,0,0) 一般用十六进制, 阅读全文