CSS style tags and JS syntax attributes distinguish _javascript skills

Source: Internet
Author: User
Box label and property control
CSS Syntax (case-insensitive) JavaScript syntax (case sensitive)
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
Color and background labels and properties control
CSS syntax (case-insensitive) JavaScript syntax (case sensitive)
Background Background
Background-attachment Backgroundattachment
Background-color BackgroundColor
Background-image BackgroundImage
Background-position Backgroundposition
Background-repeat Backgroundrepeat
Color Color
Style label and property control
CSS syntax (case-insensitive) JavaScript syntax (case sensitive)
Display Display
List-style-type listStyleType
List-style-image listStyleImage
List-style-position listStylePosition
List-style ListStyle
White-space Whitespace
Text style label and property control
CSS syntax (case-insensitive) JavaScript syntax (case sensitive)
Font Font
Font-family FontFamily
Font-size FontSize
Font-style FontStyle
Font-variant Fontvariant
Font-weight FontWeight
Text label and attribute control
CSS syntax (case-insensitive) JavaScript syntax (case sensitive)
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.