css樣式標(biāo)簽和js語(yǔ)法屬性區(qū)別
更新時(shí)間:2013年11月06日 08:56:48 作者:
css樣式標(biāo)簽和js語(yǔ)法屬性區(qū)別。需要的朋友可以過(guò)來(lái)參考下,希望對(duì)大家有所幫助
| 盒子標(biāo)簽和屬性對(duì)照 | |
|---|---|
| CSS語(yǔ)法(不區(qū)分大小寫) | JavaScript語(yǔ)法(區(qū)分大小寫) |
| border | border |
| border-bottom | borderBottom |
| border-bottom-color | borderBottomColor |
| border-bottom-style | borderBottomStyle |
| border-bottom-width | borderBottomWidth |
| border-color | borderColor |
| border-left | borderLeft |
| border-left-color | borderLeftColor |
| border-left-style | borderLeftStyle |
| border-left-width | borderLeftWidth |
| border-right | borderRight |
| border-right-color | borderRightColor |
| border-right-style | borderRightStyle |
| border-right-width | borderRightWidth |
| border-style | borderStyle |
| border-top | borderTop |
| border-top-color | borderTopColor |
| border-top-style | borderTopStyle |
| border-top-width | borderTopWidth |
| border-width | borderWidth |
| clear | clear |
| float | floatStyle |
| margin | margin |
| margin-bottom | marginBottom |
| margin-left | marginLeft |
| margin-right | marginRight |
| margin-top | marginTop |
| padding | padding |
| padding-bottom | paddingBottom |
| padding-left | paddingLeft |
| padding-right | paddingRight |
| padding-top | paddingTop |
| 顏色和背景標(biāo)簽和屬性對(duì)照 | |
| CSS 語(yǔ)法(不區(qū)分大小寫) | JavaScript 語(yǔ)法(區(qū)分大小寫) |
| background | background |
| background-attachment | backgroundAttachment |
| background-color | backgroundColor |
| background-image | backgroundImage |
| background-position | backgroundPosition |
| background-repeat | backgroundRepeat |
| color | color |
| 樣式標(biāo)簽和屬性對(duì)照 | |
| CSS語(yǔ)法(不區(qū)分大小寫) | JavaScript 語(yǔ)法(區(qū)分大小寫) |
| display | display |
| list-style-type | listStyleType |
| list-style-image | listStyleImage |
| list-style-position | listStylePosition |
| list-style | listStyle |
| white-space | whiteSpace |
| 文字樣式標(biāo)簽和屬性對(duì)照 | |
| CSS 語(yǔ)法(不區(qū)分大小寫) | JavaScript 語(yǔ)法(區(qū)分大小寫) |
| font | font |
| font-family | fontFamily |
| font-size | fontSize |
| font-style | fontStyle |
| font-variant | fontVariant |
| font-weight | fontWeight |
| 文本標(biāo)簽和屬性對(duì)照 | |
| CSS 語(yǔ)法(不區(qū)分大小寫) | JavaScript 語(yǔ)法(區(qū)分大小寫) |
| letter-spacing | letterSpacing |
| line-break | lineBreak |
| line-height | lineHeight |
| text-align | textAlign |
| text-decoration | textDecoration |
| text-indent | textIndent |
| text-justify | textJustify |
| text-transform | textTransform |
| vertical-align |
verticalAlign |
相關(guān)文章
js模擬淘寶網(wǎng)的多級(jí)選擇菜單實(shí)現(xiàn)方法
這篇文章主要介紹了js模擬淘寶網(wǎng)的多級(jí)選擇菜單實(shí)現(xiàn)方法,涉及javascript針對(duì)頁(yè)面元素結(jié)點(diǎn)的遍歷與設(shè)置等操作技巧,具有一定參考借鑒價(jià)值,需要的朋友可以參考下2015-08-08
淺談Sublime Text 3運(yùn)行JavaScript控制臺(tái)
下面小編就為大家?guī)?lái)一篇淺談Sublime Text 3運(yùn)行JavaScript控制臺(tái)。小編覺(jué)得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧2016-06-06
js改變html的原有內(nèi)容實(shí)現(xiàn)方法
下面小編就為大家?guī)?lái)一篇js改變html的原有內(nèi)容實(shí)現(xiàn)方法。小編覺(jué)得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧2016-10-10
javascript實(shí)現(xiàn)base64 md5 sha1 密碼加密
本篇文章給大家介紹了javascript實(shí)現(xiàn)密碼加密,通過(guò)base64、md5、sha1文件,調(diào)用相關(guān)方法實(shí)現(xiàn)密碼加密,非常簡(jiǎn)單,需要的朋友可以參考下2015-09-09
JavaScript探測(cè)CSS動(dòng)畫(huà)是否已經(jīng)完成的方法
這篇文章主要為大家詳細(xì)介紹了JavaScript探測(cè)CSS動(dòng)畫(huà)是否已經(jīng)完成的方法,感興趣的小伙伴們可以參考一下2016-08-08
概述BootStrap中role="form"及role作用角色
這篇文章主要介紹了BootStrap中role="form"及role作用角色介紹,以及bootstrap柵欄系統(tǒng)css中的col-xs-*,col-sm-*,col-md-* 的意義簡(jiǎn)單介紹,需要的朋友參考下2016-12-12

