This page is not complete.

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The style property of the FontFace interface retrieves or sets the font's style. It is equivalent to the font-style descriptor.


var style =; = value;


A CSSOMString containing the descriptors defined in the style sheet's @font-face rule.


Specification Status Comment
CSS Font Loading Module Level 3
The definition of 'style' in that specification.
Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Chrome Full support 35Edge Full support 79Firefox Full support YesIE No support NoOpera Full support YesSafari Full support 10WebView Android Full support 37Chrome Android Full support 35Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support 4.0


Full support  
Full support
No support  
No support
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.