css 跟JavaScript 的标签跟属性书写格式区别
来源:互联网 发布:英雄联盟显示网络断开 编辑:程序博客网 时间:2024/06/12 00:58
盒子标签和属性对照
CSS语法(不区分大小写) JavaScript语法(区分大小写)
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语法(不区分大小写) JavaScript语法(区分大小写)
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 语法(不区分大小写) JavaScript 语法(区分大小写)
background background
background-attachment backgroundAttachment
background-color backgroundColor
background-image backgroundImage
background-position backgroundPosition
background-repeat backgroundRepeat
color color
样式标签和属性对照
CSS语法(不区分大小写) JavaScript 语法(区分大小写)
display display
list-style-type listStyleType
list-style-image listStyleImage
list-style-position listStylePosition
list-style listStyle
white-space whiteSpace
文字样式标签和属性对照
CSS 语法(不区分大小写) JavaScript 语法(区分大小写)
font font
font-family fontFamily
font-size fontSize
font-style fontStyle
font-variant fontVariant
font-weight fontWeight
文本标签和属性对照
CSS 语法(不区分大小写) JavaScript 语法(区分大小写)
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
阅读全文
0 0
- css 跟JavaScript 的标签跟属性书写格式区别
- 跟css背景有关的属性
- 字段跟属性区别
- iOS 成员变量跟属性的区别
- JavaScript的null跟“”的区别
- javascript this跟self的区别
- ext2格式跟ext3格式区别 inode
- ibatis #跟$的区别
- ^ 跟 | 的区别
- 关于div+css布局中的class跟id的区别
- 细谈C#中的索引器跟属性的区别
- 细谈C#中的索引器跟属性的区别
- DOM节点中属性nodeName、nodeType跟nodeValue的区别
- HTML+CSS的书写格式
- padding属性的书写格式
- Javascript 声明时用“var”跟不用"var"的区别
- #import 跟#include 的区别 #import<> 跟 #import""的区别
- 喜欢跟爱的区别
- 时间戳转换为String
- 标准光源与色温对应关系
- 常用 Git 命令清单
- 测试你的前端代码
- Qt学习04——正则表达式
- css 跟JavaScript 的标签跟属性书写格式区别
- 浅谈Matlab中的快速傅里叶变换(fft)
- 010editor pyc template
- 2017个人工作感悟
- sshd_config配置详解
- 二十个热门的高级Java面试题汇总
- Linux进程地址空间
- 接口安全策略——简略
- 关于运算符重载