3 ms·
I'm not sure that CSS is has the "Turing completeness" equivalent for layout that a programming language like Javascript has for computation. That is to say, i
by Negitivefrags 13y ago
I'm not sure that CSS is has the "Turing completeness" equivalent for layout that a programming language like Javascript has for computation.
That is to say, it's not possible to create any conceivable layout with CSS alone. It might be possible if the thing spits out Javascript as well.
- jared314 13y agoYou don't need turing completeness to be a compilation target, but you have the right idea with additional javascript. For a box-glue model, similar to Latex, you would have to make some adjustments when resizing. The generated code might end up similar to what twitter bootstrap does it, but one step more abstract.