CSS

package js.html

Available on js

The CSS interface holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface.

Documentation CSS by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static methods

staticescape(ident:String):String

Can be used to escape a string mostly for use as part of a CSS selector.

staticsupports(conditionText:String):Bool

staticsupports(property:String, value:String):Bool

Returns a Boolean indicating if the pair property-value, or the condition, given in parameter is supported.

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CSS.html