欢迎来到天天文库
浏览记录
ID:49286460
大小:152.51 KB
页数:2页
时间:2020-03-01
《《css层叠样式》.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、样式表语法(CSSSyntax)Selector{property:value}参数说明:Selector -- 选择符property : value -- 样式表定义。属性和属性值之间用冒号(:)隔开。定义之间用分号(;)隔开继承的值(The'Inherit'Value)每个属性都有一个指定的值:Inherit。它的意思是:将父对象的值等同为计算机值得到。这个值通常仅仅是备用的。显式的声明它可用来强调。CSSPropertiesReference 样式表属性 字体Fontfontcolorfont-familyfont-sizefont-size-
2、adjustfont-stretchfont-stylefont-weighttext-decorationtext-underline-positiontext-shadowfont-varianttext-transformline-heightletter-spacingword-spacing文本Texttext-indenttext-overflowvertical-aligntext-alignlayout-flowwriting-modedirectionunicode-bidiword-breakline-breakwhite-spacewo
3、rd-wraptext-autospacetext-kashida-spacetext-justifyruby-alignruby-positionruby-overhangime-modelayout-gridlayout-grid-charlayout-grid-char-spacinglayout-grid-linelayout-grid-modelayout-grid-type背景Backgroundbackgroundbackground-attachmentbackground-colorbackground-imagebackground-po
4、sitionbackground-positionXbackground-positionYbackground-repeatlayer-background-colorlayer-background-image定位Positioningpositionz-indextoprightbottomleft尺寸Dimensionsheightmax-heightmin-heightwidthmax-widthmin-width布局Layoutclearfloatclipoverflowoverflow-xoverflow-ydisplayvisibility外
5、补丁Marginsmarginmargin-topmargin-rightmargin-bottommargin-left轮廓Outlinesoutlineoutline-coloroutline-styleoutline-width边框Bordersborderborder-colorborder-styleborder-widthborder-topborder-top-colorborder-top-styleborder-top-widthborder-rightborder-right-colorborder-right-styleborder-r
6、ight-widthborder-bottomborder-bottom-colorborder-bottom-styleborder-bottom-widthborder-leftborder-left-colorborder-left-styleborder-left-width内容GeneratedContentinclude-sourcequotescontentcounter-incrementcounter-reset内补丁Paddingspaddingpadding-toppadding-rightpadding-bottompadding-l
7、eft列表项目Listslist-stylelist-style-imagelist-style-positionlist-style-typemarker-offset表格Tableborder-collapseborder-spacingcaption-sideempty-cellstable-layoutspeak-header滚动条Scrollbarsscrollbar-3d-light-colorscrollbar-highlight-colorscrollbar-face-colorscrollbar-arrow-colorscrollbar-s
8、hadow-colorscrollbar-dark-
此文档下载收益归作者所有