cssx

Root variables

Properties that can be used in the :root element.

Property Description Default
--lang Language of the document en
--title Title of the document CSSX
--description Description of the document CSSX is compiler for CSS
--icon Link to the favicon favicon.svg
--generator Meta generator CSSX v0.0.0
--transition Add @view-transition false

Reserved variables

content Set the content of an element.
--import Used to import a CSSX file.

Properties

Common properties that can be used in any element.

--href Set the href attribute of an anchor element.
--onclick Set the onclick attribute of an element.
--target Target attribute of an anchor element.
--src Set the src attribute of an image element.