<li id="ob60y"><tr id="ob60y"></tr></li>
<rp id="ob60y"></rp>
  • <dfn id="ob60y"><label id="ob60y"><strong id="ob60y"></strong></label></dfn>
    js語法和css語法的對比
    來源:易賢網(wǎng) 閱讀:1282 次 日期:2016-06-27 09:44:15
    溫馨提示:易賢網(wǎng)小編為您整理了“js語法和css語法的對比”,方便廣大網(wǎng)友查閱!

    方法:

    document.getelementbyid(xx).style.xxx中的所有屬性是什么

    盒子標簽和屬性對照

    css語法(不區(qū)分大小寫) javascript語法(區(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

    顏色和背景標簽和屬性對照

    css 語法(不區(qū)分大小寫) javascript 語法(區(qū)分大小寫)

    background background

    background-attachment backgroundattachment

    background-color backgroundcolor

    background-image backgroundimage

    background-position backgroundposition

    background-repeat backgroundrepeat

    color color

    樣式標簽和屬性對照

    css語法(不區(qū)分大小寫) javascript 語法(區(qū)分大小寫)

    display display

    list-style-type liststyletype

    list-style-image liststyleimage

    list-style-position liststyleposition

    list-style liststyle

    white-space whitespace

    文字樣式標簽和屬性對照

    css 語法(不區(qū)分大小寫) javascript 語法(區(qū)分大小寫)

    font font

    font-family fontfamily

    font-size fontsize

    font-style fontstyle

    font-variant fontvariant

    font-weight fontweight

    文本標簽和屬性對照

    css 語法(不區(qū)分大小寫) javascript 語法(區(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

    更多信息請查看網(wǎng)頁制作
    易賢網(wǎng)手機網(wǎng)站地址:js語法和css語法的對比
    由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復僅供參考,敬請考生以權威部門公布的正式信息和咨詢?yōu)闇剩?/div>
    關于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

    版權所有:易賢網(wǎng)