by bretthopper · 15y ago · 0 comments
What I don't like: it depends on JS.
Using LESS or SASS avoids most of the problem this article talks about it, although the generated CSS will contain every vendor prefix. I'm not sure the difference in CSS filesize is worth using this solution.
Does anyone know of a server-side solution like this? Wouldn't be hard to vary the CSS output based on user-agent. Although you'd lose some caching benefits.
Using compass you just have to type:
+linear-gradient(color-stops(#c7def4,#d7eef4))
+box-shadow(rgba($ycolor9,.6) 0 0 4px inset)
+border-radius()
And it works really fine.http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#ex...