Keith J. Grant
keithjgrant.com · Personal blog · on HN since 2015
Keith J. Grant is a front-end developer who writes about CSS, custom properties, color, and web platform features.
What HN saysHN commenters call his oklch color article very helpful and link his 'Against CSS in JS' post as an interesting argument for plain CSS approaches.
19HN people shared it
5linked it in comments
18stories submitted
47story points
1 year agolast shared
2015people per year2026
Most-shared posts
- 1Against CSS in JS5 people · 10 points · first shared 2015 · discussion on HN
- 2Save Scoped CSS2 people · 8 points · first shared 2016 · discussion on HN
- 3A Structured Approach to Custom Properties2 people · 7 points · first shared 2024 · discussion on HN
- 4An AI Skeptic Uses AI for a Week1 people · 4 points · first shared 2025 · discussion on HN
- 5It's Time to Learn oklch Color (2023)1 people · 3 points · first shared 2024 · 1 comments on HN
- 6Hello, World Wide IndieWeb1 people · 3 points · first shared 2017 · 1 comments on HN
- 7My CSS Resets1 people · 3 points · first shared 2024 · 1 comments on HN
- 8Meet the New Dialog Element1 people · 2 points · first shared 2018 · discussion on HN
- 9It's time to learn oklch color1 people · 2 points · first shared 2023 · discussion on HN
- 10Re-evaluating px vs. em in Media Queries1 people · 1 points · first shared 2023 · discussion on HN
- 11Scoped CSS Is Back1 people · 1 points · first shared 2023 · discussion on HN
- 12Web Components Aren’t Components1 people · 1 points · first shared 2023 · discussion on HN
- 13Resilient, Declarative, Contextual: CSS is different on purpose1 people · 1 points · first shared 2018 · discussion on HN
- 14Transitioning Gradients in CSS1 people · 1 points · first shared 2023 · 1 comments on HN
- 15Against css in js1 people · first shared 2018
What HN people wrote when they linked it
runsonrum · 2025-01-17
I found this article to be very helpful
https://keithjgrant.com/posts/2023/04/its-time-to-learn-oklch-color/
dbetteridge · 2020-08-08
It's not exactly the same, but https://keithjgrant.com/posts/2019/02/adding-webmention-support-to-a-s…
Webmention's offer some ability to link comments back to your static sites?
news_to_me · 2018-06-21
An interesting writeup is also linked there: https://keithjgrant.com/posts/2015/05/against-css-in-js/
emitstop · 2015-06-12
For many reasons, namely that we've already solved most of these "problems" years ago with simple concepts like OOCSS, SMACSS, and BEM. I suggest taking a look at this rebuttal.
http://keithjgrant.com/posts/against-css-in-js.html
The reasons people are running into problems with global css scope is because they don't understand the basics of how to write effective and maintainable CSS. Seems like many front end devs nowadays grew up with css hand-holding libraries like bootstrap, and can't seem to wrap their heads around completely necessary things like taking account for CSS specificity and how the cascade works and how to use it to your advantage.