3 ms·
If you are going to write simplified markup in some DSL that adapts HTML to the needs of your pages and a translator to turn it into complete markup with all th
by HelloNurse 9y ago
If you are going to write simplified markup in some DSL that adapts HTML to the needs of your pages and a translator to turn it into complete markup with all the classes and utility HTML elements needed for CSS styling, there's no reason to avoid the target CSS framework conventions, including classes, in the output, and there's no place for CSS in the input because it is abstract (it should represent document structure only, e.g. a "panel", without bothering with styling, e.g. turning a "panel" into two levels of DIV and IMG elements with certain classes).