The Truth About CSS

By  on  

Whether you call yourself a "full stack engineer" or not, most of us fashion ourselves able to dabble on each side of a website infrastructure.  Of course the same people who fancy themselves as capable would probably also tell you they're much stronger on client or server sides.  I feel way more comfortable on the client side and I admire the hell out of server side legends I work with at Mozilla.  That's why I found this comic incredibly on point:

CSS Comic

I find it hilarious when a server side deity rages about CSS and proceeds to ask me a simple CSS-related question.  Not hilarious like "you're an idiot" hilarious, but more so a "whoa, you are human" hilarious.  CSS is almost the least dynamic of all languages and it throws people for a loop.  And why shouldn't it?  Browser differences, device differences, API interpretations -- we're all shooting at a moving target.  The difference?  Server side devs hate it and client side devs embrace it.  CSS...can't live with it, can't live without it.

Original image appeared on CommitStrip.

Recent Features

  • By
    Regular Expressions for the Rest of Us

    Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...

  • By
    fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for.  We've done well to create elegant APIs around XHR but we know we can do better.  Our effort to...

Incredible Demos

  • By
    TextboxList for MooTools and jQuery by Guillermo Rauch

    I'll be honest with you: I still haven't figured out if I like my MooTools teammate Guillermo Rauch. He's got a lot stacked up against him. He's from Argentina so I get IM'ed about 10 times a day about how great Lionel...

  • By
    CSS Fixed Positioning

    When you want to keep an element in the same spot in the viewport no matter where on the page the user is, CSS's fixed-positioning functionality is what you need. The CSS Above we set our element 2% from both the top and right hand side of the...

Discussion

  1. Eric

    hahaha, love it. I have worked with some brilliant back-end engineers who know every OOP design pattern in the book, but trip over themselves with floats and positioning, and think responsive CSS is some kind of black magic. Moral of the story, a diverse array of expertise is required to make the software engineering world go ’round.

    Nice post! ;)

  2. Jeremy

    Haha, that is EXACTLY how I feel about CSS!

  3. Nice post!
    That’s the reason i am transitioning towards back end developing after having some taste of front end technologies….

  4. David

    I have the same exact thoughts/feelings! To me, as a self-taught, relatively new front-end/js developer (<2 years on the job) if you know how to do all this server-side/database stuff how can you not pick up html/css.

    I realize everyone is wired differently and some things just make more sense to other people but most of the "bugs/issues" I get back from the backend people I work with have to do with implementing simple html and css properly. My issues may be more likely tied to the fact that the backend people I work with aren't that great at what they're doing in the first place.

  5. Matt

    I’ve been working with CSS for eight years, and it still throws me for a loop now and then. I’m soooo glad to hear I’m not the only one.

  6. This is so true, that’s why I *love* working with front-end experts. Those guys have some kind of magical power. Given the most weird, illogical layout situation, they have a sense of coming up with that one CSS tweak that fixes it.

  7. haha Sometimes when I’m out of front-end business I forget how to use fixed and absolute. Shame..

  8. … and then you open site in 2.3 android :)

  9. I could spend most of my days writing CSS – love it, love it, love it. Maybe because I think of it more as design than programming, and design is what I’ve been doing forever.

    It’s only recently that I’ve started to think programmatically – to care as much about making code do things efficiently as making it put things in the right places visually.

  10. Nicolas

    I wonder if time spent delving into how the browser/rendering engine parses and interprets CSS would result in a better understanding of its behaviors.

    http://www.w3.org/TR/css3-syntax/#parsing

  11. lemon

    Well it’s still better than c# >:(

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!