TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The State of CSS 2019

98 pointsby mhr_onlinealmost 6 years ago

13 comments

azangrualmost 6 years ago
&gt; CSS on the other hand has always been the studious, well-behaved kid who always stays polite and never makes a rash decision<p>This is such a strange picture to paint!<p>CSS has always been the dim-witted kid. For a long time, it couldn&#x27;t do math. For a long time, it couldn&#x27;t have varibles. For a long time, it did not have a reasonable syntax for page layout. Its rules have global visibility (if we don&#x27;t consider shadow DOM). And those vendor prefixes! This is one hell of a kid!
评论 #20205781 未加载
评论 #20203703 未加载
hornet-runalmost 6 years ago
There&#x27;s a missing feature. Look at a css page and know how the site will behave. Every programing language you look at code (if well written) and u know what it will do. In css you know what are the attributes set but it doesn&#x27;t really tell you what is going you happen. That&#x27;s the only thing I don&#x27;t like in css.
评论 #20202169 未加载
评论 #20202472 未加载
评论 #20202278 未加载
评论 #20202719 未加载
jjcmalmost 6 years ago
Unsurprisingly Stylus is one of the preprocessors that people want to avoid the most (beating less by 1% in user satisfaction). The preprocessor is very apathetic to what style you use - it&#x27;s the antithesis of a linter. Want to use a semicolon on this line, and not one on the next? Go for it! Not the best when you want to write something production worthy.<p>That said I&#x27;ve found it phenomenal for prototyping, simple codepen examples, and teaching css. I run the prototyping efforts at Atlassian and I&#x27;ve built a large amount of code prototyping tools focused on allowing designers to quickly build something out. The standard template I give to designers and students uses stylus by default because <i>it allows them to make mistakes</i>. People who are unfamiliar with code feel defeated when a small syntax error was the one thing holding them back - it makes them question their understanding of the intention of what they wrote, even when the meaning of what they had was correct. Stylus fixes so many of these things for me. I&#x27;d highly recommend doing any of your exploratory phases in Stylus.
评论 #20202885 未加载
Theodoresalmost 6 years ago
The HTML in the report tells me as much about the state of CSS as what is in the report.<p>Sure a lot of people know lots of clever CSS things, but are we over-complicating things and forgetting the basics of HTML?<p>This report does not use HTML properly. It is a sea of divs which is all well and good for CSS but not what this whole thing is ultimately about.<p>The document structure has a main element but this is in the wrong place. According to the HTML spec the main element should be directly below the body element with no extra div wrappers.<p>Then the page has one nav element. Beyond that it uses none of the sensible HTML5 elements for the content. Nothing is broken down into sections, articles and asides. Graphs are not in figures.<p>These elements are important, otherwise we might as well just give up and just post images with imagemaps.<p>Surely some content on the report must be a &#x27;header&#x27; or part of what you might call a &#x27;footer&#x27;?<p>I don&#x27;t get this complacency when it comes to writing HTML, why everything always has to be in a div when the spec says you should only being divs when there are no better elements.<p>Since this report is entirely written in div soup with one nav element and one badly placed main, they don&#x27;t know HTML so why should I take seriously what the report says about CSS? It is going to be the same cargo cult stuff.
评论 #20202092 未加载
评论 #20203770 未加载
评论 #20202263 未加载
Liquidoralmost 6 years ago
I just can&#x27;t take this website serious. Is it a parody or a joke? It looks awful and it doesn&#x27;t even fit on mobile (<a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;6GD8yfD.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;6GD8yfD.png</a> &amp;&amp; <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;lxs0gVG.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;lxs0gVG.png</a>)<p>What happened to keeping it simple? <a href="http:&#x2F;&#x2F;motherfuckingwebsite.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;motherfuckingwebsite.com&#x2F;</a> or <a href="http:&#x2F;&#x2F;bettermotherfuckingwebsite.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;bettermotherfuckingwebsite.com&#x2F;</a>
评论 #20202048 未加载
评论 #20202754 未加载
评论 #20203760 未加载
评论 #20202447 未加载
评论 #20202659 未加载
评论 #20210164 未加载
thex10almost 6 years ago
Well.. as a developer who probably works more with CSS and HTML than anything else, I really enjoyed this report. I found the visualizations and even the overall design provocative, and I even learned a few things in the process (overscroll-behavior?!)
Cogitoalmost 6 years ago
If this was a photo pasted into word that was then printed and faxed it wouldn’t make the content any less meaningful.<p>Thanks for sharing the interesting results into various usages of css; I learnt about some new things, and found the usage of different things (especially units!) very interesting.<p>As an aside, the site worked great for me on mobile. Some images were big and slightly awkward to scroll around, but worked just fine.
btbuildemalmost 6 years ago
Why is my laptop suddenly cooking when I&#x27;m just reading that page?
tanguealmost 6 years ago
I&#x27;m curious about the 8% of people using cm as a unit in css...
评论 #20202086 未加载
评论 #20202135 未加载
pier25almost 6 years ago
&gt; JavaScript has developed a bit of a reputation as the angry, rebellious teenager going through a new phase every year and telling you you&#x27;re just too old to understand.<p>Couldn&#x27;t agree more.<p>I imagine one of the many reasons is because CSS features can&#x27;t be transpiled but many of JS can.
sweecealmost 6 years ago
Given the results on layout tools:<p>Grid - 54.5% have used it, 43.2% heard of it, but haven&#x27;t used it<p>Flexbox - 94.4% have used it, 4.64% heard of it, but haven&#x27;t used it<p>...I wonder how the adoption of CSS grid will play out over time. Are people comfortable enough with flexbox that they don&#x27;t feel the need to use CSS grid?
jjcmalmost 6 years ago
I think the most offensive thing here is that 6.2% of people use inches as a unit of measure in their css.<p>The thought of 𝚋𝚘𝚛𝚍𝚎𝚛: 𝟶.𝟸𝚒𝚗 𝚋𝚕𝚊𝚌𝚔; sitting in someone&#x27;s css is terrifying.
评论 #20203077 未加载
评论 #20202579 未加载
评论 #20203343 未加载
评论 #20205796 未加载
评论 #20203163 未加载
dmitriidalmost 6 years ago
Kinda all you need to know about the state of CSS in 2019: the menu’s bottom items cannot be accessed on mobile Safari. Also: the scrolling is awkward&#x2F;broken.
评论 #20201902 未加载