getelementbyid属性color清楚样式

发布时间:2020-06-04 17:07:27 作者:xgq珀琥
来源:网络 阅读:544

转-document.getElementById("xx").style.xxx中的所有属性
   

  

颜色和背景标签和属性对照样式标签和属性对照文字样式标签和属性对照文本标签和属性对照



CSS语法(不区分大小写)JavaScript语法(区分大小写)
borderborder
border-bottomborderBottom
border-bottom-colorborderBottomColor
border-bottom-styleborderBottomStyle
border-bottom-widthborderBottomWidth
border-colorborderColor
border-leftborderLeft
border-left-colorborderLeftColor
border-left-styleborderLeftStyle
border-left-widthborderLeftWidth
border-rightborderRight
border-right-colorborderRightColor
border-right-styleborderRightStyle
border-right-widthborderRightWidth
border-styleborderStyle
border-topborderTop
border-top-colorborderTopColor
border-top-styleborderTopStyle
border-top-widthborderTopWidth
border-widthborderWidth
clearclear
floatfloatStyle
marginmargin
margin-bottommarginBottom
margin-leftmarginLeft
margin-rightmarginRight
margin-topmarginTop
paddingpadding
padding-bottompaddingBottom
padding-leftpaddingLeft
padding-rightpaddingRight
padding-toppaddingTop


CSS 语法(不区分大小写)JavaScript 语法(区分大小写)
backgroundbackground
background-p_w_uploadbackgroundAttachment
background-colorbackgroundColor
background-p_w_picpathbackgroundImage
background-positionbackgroundPosition
background-repeatbackgroundRepeat
colorcolor




CSS语法(不区分大小写)JavaScript 语法(区分大小写)
displaydisplay
list-style-typelistStyleType
list-style-p_w_picpathlistStyleImage
list-style-positionlistStylePosition
list-stylelistStyle
white-spacewhiteSpace




CSS 语法(不区分大小写)JavaScript 语法(区分大小写)
fontfont
font-familyfontFamily
font-sizefontSize
font-stylefontStyle
font-variantfontVariant
font-weightfontWeight




CSS 语法(不区分大小写)JavaScript 语法(区分大小写)
letter-spacingletterSpacing
line-breaklineBreak
line-heightlineHeight
text-aligntextAlign
text-decorationtextDecoration
text-indenttextIndent
text-justifytextJustify
text-transformtextTransform
vertical-align

  verticalAlign


推荐阅读:
  1. HTML font标签的color属性怎么用
  2. css中text-decoration-color属性如何使用

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

js 清楚 te

上一篇:应该如何解决mysql数据库主从不同步

下一篇:iOS10字体适配

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》