3 ms·
I like to indent my CSS to resemble the structure of the DOM it's styling: http://addepar.com/style/style.css http://addepar.com/style/style.css
by karanbhangui 17y ago
I like to indent my CSS to resemble the structure of the DOM it's styling: http://addepar.com/style/style.css http://addepar.com/style/style.css
- lubos 17y agothis is cool, thanks for sharing
- karanbhangui 17y agono problem :)
- blasdel 17y agohttp://sass-lang.com/ http://sass-lang.com/ is YAML-style and uses pure indentation, but is overly sugared. http://github.com/cloudhead/less http://github.com/cloudhead/less is a purer subset of CSS where you just nest rules inside the curly braces.
- raimondious 17y agoSomeone made a LESS plugin for Coda, then turned it into a standalone app: http://incident57.com/coda/ http://incident57.com/coda/.
- deleted 17y ago[deleted]
- nex3 17y agoSass 3 will support a desugared syntax: http://nex-3.com/posts/96-scss-sass-is-a-css-extension http://nex-3.com/posts/96-scss-sass-is-a-css-extension
- JoelSutherland 17y agoThis is really well formatted CSS. It combines the best of both worlds which makes it really easy to understand at a glance.