Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Mustache Template for CSS

$
0
0
If you're doing dynamic themes, then simply load a stylesheet from the server, and implement all your generation logic there. Any other styling should be done by toggling classes, including most animation. The exceptions I would make are for height and width IF you're doing animation that would otherwise prevent these from being observable via getComputedStyle. At that point, you can use a can.compute with the dom.style object for fine grain control.

Viewing all articles
Browse latest Browse all 3491

Trending Articles