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?
@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
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.
Pretty! P.S. I hate single line, so get me to say pretty is a feat.
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.
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.
Boom! Love it, too!
about 2 years ago
keyboard shortcuts: ← previous shot → next shot L or F like
Show and tell for designers
What are you working on? Dribbble is a community of designers sharing screenshots of their work, process, and projects.
Copyright © 2009–2013 Dribbble LLC. All screenshots © their respective owners. Shipped from Salem, Mass. USA.
Follow Dribbble on Twitter