On April 26 I posted this year’s version of the Ultimate CSS Survey, a way for us to gather information from CSS developers on their practices, habits, knowledge, and understanding of CSS.
More than 1,600 people filled out the survey over the past 6 weeks and now it’s time to show you the numbers. I’ve embedded the results below, and after the embed I’ve posted some of my follow-up comments and observations, especially in comparison to last year’s results. I’ve also included notes on comments that many readers posted in the survey (included as an optional field).
Use the up/down arrows to cycle through the survey results ↑
Comments on the Results
Feel free to analyze the results above on your own, but here are some points that stand out (I’ve included links to different subjects):
General Stuff and Best Practices
- When asked to describe themselves (Question 2), 30% of respondents said they are full-stack developers. In last year’s survey, I neglected to include an option for “full-stack”, so it’s hard to compare results. I’m surprised so many respondents are full-stack. I think to some extent that’s a reflection of the SitePoint readership.
- Another big increase is the number of developers using a CSS methodology (Question 32). This year, 32% said they’re using a predefined methodology compared to 23% last year. BEM use in particular rose from 21% last year to 29% this year.
- Only 23% of respondents said they produce documentation for their CSS (Question 39), which is down from about 28% last year. I wouldn’t expect this number to be too high in general, but I’m surprised there was a dip.
- Testing CSS on a variety of mobile devices is on the increase (Question 41). About 82% do a moderate to thorough amount of mobile testing, compared to 72% last year.
- 8% of respondents said they still test on and support IE8, and 4% include IE6/7 (Question 42). Two respondents even said they support IE5.5. I think these numbers are a little higher than they should be.
- Generally speaking, more developers than last year are happy with the W3C and the standards process. (Questions 43 & 44)
- This year 23% of respondents said that they had attended a CSS conference (Question 48), which is a 6% increase from last year. Good to hear!
- More than 70% of respondents said they learn about CSS from viewing the source on random websites they come across (Question 50).
- More CSS developers are using rem units (Questions 11 & 12) for both typography and sizing in general in comparison to last year’s survey.
- One of the biggest increases from last year’s survey was (not surprisingly) the use of flexbox (Question 14). Last year 31% said they hadn’t started using it. This year, only 18% said that. Also, 62% said they are using flexbox on most or all new projects, compared to only 39% last year.
- More developers are using lesser-known CSS units like vw, vh, grad, turn, etc. (Question 24)
- The areas of CSS that developers have the most trouble with are: Pseudo-class expressions, CSS typography, styling forms, 3D animations, Grid Layout, and flexbox. (Questions 46 & 47)
- Use of CSS frameworks like Bootstrap and Foundation seems to be on the decline. Not a major decline, but there is a noticeable difference from last year to this year. (Questions 25 & 26)
- Sass and Less usage is on the decline while PostCSS use is way up from 19% to 30%. Similarly, use of lesser-known tools like CSS Modules and Pleeease is on the increase. (Question 28)
- Similar to last year, over 60% of respondents feel the features in preprocessors like Sass should be natively part of CSS. (Question 29)
- The most popular code editors and IDEs are Sublime Text, Atom, Visual Studio, and PHPStorm (Question 30). This fits well with the fact that so many that filled out the survey are full-stack devs.
- More than 50% of respondents said they’ve found a CSS-related bug in a browser (15% reported the bug). This seems a little high but I’m guessing many of these bugs turned out not to be bugs at all. (Question 34)
Continue reading %Results of the Ultimate CSS Survey 2017%