Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.


The CSSOM API offers a programmatic interface to various CSS features. A CSSOM property name corresponds to property names that appear in style sheets, but uses an alternate camelCase syntax. For example, the font-size property is represented in CSSOM as fontSize, and scripts can directly assign a value to (Experimental or otherwise not fully standardized properties would be represented in style sheets using vendor prefixes such as -webkit-font-size and -moz-font-size, in which case corresponding CSSOM prefixes would be WebkitFontSize and MozFontSize.) Refer to for a list of the names.