I only really indent like that on stuff like sprites (as seen above) which is initially tedious as well, so for me the good outweighs the bad. I segment my CSS to a decent extent, which really helps with maintainability for me:
I've pretty much abandoned CSSEdit (where I used to simply love the pseudo-folders) simply because I have some TextMate commands that really speed things up for me.
@Shawn Grimes: more often than not the character length of selectors are similar in length, and I'm able to column select in TextMate and hit a Tab or two and that's pretty much it to be honest. For those that aren't, it's just an additional Tab or two.
I only use single line for sprites like this. Past that I am multi-line all the way. CMD+Shift+T in Textmate lets me jump to the selector I want, then up or down a few lines and I am good. But having everything lined up makes multi-line edits a breeze.
Single line looks great, no question. But it pains me to use it in development. Multi-line edits are just way more efficient, even if more difficult to scan.
Plus I still like to jump to CSS Edit once out of deep development and just tightening up the UI. Love me some X-Ray + Live Preview.
Never actually tried single-line, myself. I adore CSSEdit, but I'm starting to dread the thought that it's been abandoned for Espresso, which I just can't get into.
I've been a TextMate user for HTML/PHP for years, and now I'm using it for CSS using LESS (which I am becoming a huge fan of, by the way.)
I would switch back to CSSEdit in a minute if they built in LESS support.
11 Responses
I rock single line. This is one of the reasons.
over 3 years ago
Single line CSS is definitely nicer to look at, but doesn't it add a bunch of time to keep things all tidy and indented like that?
over 3 years ago
@Matt Brett I was thinking the same thing.
How do you keep it from getting time consuming and cumbersome keeping it all pretty and aligned correctly? 0_o
over 3 years ago
I only really indent like that on stuff like sprites (as seen above) which is initially tedious as well, so for me the good outweighs the bad. I segment my CSS to a decent extent, which really helps with maintainability for me:
http://mondaybynoon.com/wp-content/themes/v6/css/screen.css
I've pretty much abandoned CSSEdit (where I used to simply love the pseudo-folders) simply because I have some TextMate commands that really speed things up for me.
over 3 years ago
@Shawn Grimes: more often than not the character length of selectors are similar in length, and I'm able to column select in TextMate and hit a Tab or two and that's pretty much it to be honest. For those that aren't, it's just an additional Tab or two.
over 3 years ago
Pretty! P.S. I hate single line, so get me to say pretty is a feat.
over 3 years ago
Hahaha you're not alone, Rogie. The last time the hot debate got started it seemed like we're still pretty much 50/50 on the issue.
over 3 years ago
I only use single line for sprites like this. Past that I am multi-line all the way. CMD+Shift+T in Textmate lets me jump to the selector I want, then up or down a few lines and I am good. But having everything lined up makes multi-line edits a breeze.
over 3 years ago
Single line looks great, no question. But it pains me to use it in development. Multi-line edits are just way more efficient, even if more difficult to scan.
Plus I still like to jump to CSS Edit once out of deep development and just tightening up the UI. Love me some X-Ray + Live Preview.
over 3 years ago
Never actually tried single-line, myself. I adore CSSEdit, but I'm starting to dread the thought that it's been abandoned for Espresso, which I just can't get into.
I've been a TextMate user for HTML/PHP for years, and now I'm using it for CSS using LESS (which I am becoming a huge fan of, by the way.)
I would switch back to CSSEdit in a minute if they built in LESS support.
over 3 years ago
Boom! Love it, too!
about 2 years ago