xCss

xCss Directives

Directives can be thought of as commands in xCss, instructional elements which cause things to happen.

They are easily identified, as they always begin with a bang (!) at the start of the line, like this;

!directive ...

Directives may have a string after the directive name. If so, the contents and format of that string are directive-specific.

In the future, multi-line directives may be supported, for example, constructions of the form;

!if <condition> 
	...
!elseif <another condition>
	...
!else
	...
!endif

Potential Future Directives

!include
physically embeds another xcss file and processes it with the current context
!assert (test)
!if (test)