View on GitHub

CSS-o-Gram (CSSG)

CSS descriptional language

Download this project as a .zip file Download this project as a tar.gz file

Syntax quick reference

element 											element classname
... 												key content
#name 												link to compound section
span.element 										tag detalization
element . __fixed 									not applicable without this class
element 				__modificator 				modificators list
element 				( __yes | __no ) __maybe 	modificators logic
element 				$__dynamic 					dynamic modificator
[element] 											optional element
<social>											re-usable component
$[dynamic] 											dynamically optional element
list-item + 										appears at least 1 time
common-item * 										appears at least 0 times
/// 												code break
[1] 												variative block marker
[/]													variations end marker 							
descendant @ ancestor 								inheritance
% template % 										template
(1) 												comment link
------------------- 								comments break line 
(1) comment on code 								comment

cssg.rocks 2015 - 2018
github