Five Huge CSS Milestones

This past December, CSS turned 20 years old. That’s straight from the horses mouth, and Alec rounded up a few highlights here, as well.

I figured I could weigh in as well, focusing on around the last decade, which, coincidentally, is how old CSS-Tricks is. That just about matches up with my experience in the industry.

Firebug

It’s no doubt that Firefox was a major player in giving us the web we have today. Just a few years after Firefox’s 2004 debut, Firebug was introduced in 2006.

It’s not an overstatement to say that all modern day DevTools are modeled after Firebug. The influence Firebug had over web development was huge.

s_6EA1D2ACEE4A72FFA94EF6F435DC4D800E7675ABC96438261A6D06D0D0AEE0F6_1497784080735_52714

DevTools these days are almost taken for granted. They are the primary way we interact with how our code ends up in browsers, but that wasn’t always the case. Before Firebug, there was a whole lot of View Source and essentially guessing what was going on behind the scenes. Firebug made us all far better developers, and it’s influence is still doing that.

Chrome

As big of a deal as Firefox was (and is, really), Chrome is just as big. Chrome isn’t even 10 years old yet, doesn’t ship with any major operating system, and yet commands over half of the global browser market share, which is remarkable.

That’s good, because as much as any of us might rightfully worry about a browser monoculture or egregious RAM usage, Chrome is a very good browser.

Besides often being a leader in web standards support, Chrome recognized the importance of really good developer tools, and has arguably leads the pack these days in that regard. It was no surprise to see Firefox eventually follow suite and bring DevTools in house and Safari develop their own.

Hopefully I don’t have history wrong here, but I think it was originally a Chrome initiative to say “we will not ship any more vendor prefixes”, which was a bold move and shaped the future of CSS in a good way.

CSS3

The way CSS standards works is that the spec is broken into independent modules that all move along at their own pace. That all started after CSS3! CSS3 was kind of a ~2013 marketing effort and a line in the sand, as it were. As Tab Atkins put it:

The term “CSS3” refers to everything published after CSS 2.1.

As such, there will never be a “CSS4”.

But CSS3 was a good time! It got a lot of people talking about the powers of CSS. Border radius! Media queries! Gradients! The people rejoiced.

Preprocessing

The rise of preprocessing has been impressive. I suppose. like any good idea, it started out as something rather ridiculed, then later understood and finally  embraced. Preprocessing helped us manage large CSS codebases that were getting away from us by providing an abstraction layer that clicked with developers. Variables! Mixins! Nesting! Includes! The people rejoiced.

Preprocessing became almost an expectation of front end projects. In fact, I think it predated the rise of task runners and build processes, which are ubiquitous today. Those task runners and build processes today almost ubiquitously have CSS preprocessing as something they offer and support well.

Only history will tell us what phase we’re in now, but I suspect preprocessing as we know it today may have peaked, and we’re in the early days of CSS tooling for focused on modularization.

Flexbox & Grid

Layout is a huge, huge (huge) deal. It’s probably the most important thing CSS offers. Between Flexbox and Grid (if it’s fair to lump them together like that) represent incredible innovation in the layout capability we have on the web. These tools will dominate layout on the web for likely the next couple decades on the web, and feel like they were designed in such a way they are up to the task!

Comments

  • Benjamin Gandhi-Shepard

    I totally agree. Firebug was the JAM when it came out for Firefox.
    I’d also argue that CSS-Tricks happened too. I know that helped me with countless CSS issues and showed me what CSS could do. Nice work mang!

    • Drumology2001

      No doubt! Major kudos to you, Chris Coyier, for all you have done for the web development community! I know that my designs and work have been directly impacted — always for the better — by your efforts and presence in the community. Thank you so much, Chris! 😀

    • Mike McLin

      For me, Firebug was originally a JavaScripter’s tool. I’d argue that when Firefox came out, and we had the ability to add extensions, the Web Developer Toolbar was the most popular CSS dev tool (and what I’d always see used in tutorials of that era…Firefox 1 and 2). Over time, I feel Firebug (and debuggers in general) became more popular as the job of a front-end dev became more complex, and we matured to understand and require these more powerful tools.

  • Michael Schultz

    Is there really a need for grids when there’s flexbox? That’s the magic!

    • Flexbox and Grid are complementary. Grid is very exciting as you can do things only previously done for print or massive libraries and JavaScript shims. Also, you don’t need to rely on a bloated CSS/JS framework for simple grid layout with CSS Grid.

      • I agree with the above point. Flexbox can provide the exact same solution.

        • Brendan Patterson

          Flexbox only gives you control over 1 axis (think rows or columns) whereas grid gives you control over both.

  • Debbie Pelton

    I think we could possibly name CSS-Tricks in this list, too. I knew and worked daily with CSS before I found this site, but I really didn’t “get” it. CSS-Tricks put things into a language that made sense to me. I have been coming here a minimum of 3-5 times a week ever since. That says something.

  • Mike McLin

    One glaring omission… CSS Zen Garden! This really helped kickstart the CSS movement and showed devs the benefits and power of CSS. It really helped usher us into the era of post table layouts. Another great thing about the garden was that it was this publicly collaborated effort where you could view and share CSS code implementations long before the likes of Github, Codepen, etc were around, and sharing code was so commonplace and easy.

    • Mike McLin

      It’s funny to think back to a time where “should I use CSS or not” on a website was a legitimate question.

    • chriscoyier

      Yeah! So cool! It was actually a bit before my time (2003), but I totally see the significance and power that had. I remember a little phase where I thought it was silly. I NEVER redesign a site without touching the CSS *and* HTML, what’s the big deal? But it was more about teaching the power of semantics and the power of HTML, which it did in an extremely significant way.

  • kyds3k

    I’m with the other commenters that count CSS-Tricks as a milestone – this site has saved my life many times over, and taught me some cool . . . well, for lack of a better word, TRICKS!!!

    Also . . . last sentence in the Firebug section – _ITS_ influence :-)

  • zachleat

    I think @supports was pretty awesome too!

Related Articles