Friday Frontend: CSS Subgrids Are Here Edition
Tags: fridayfrontend, css, javascript, webdev
Published: 2019-12-06 16:35:45

---
title: Friday Frontend: CSS Subgrids Are Here Edition
published: true
date: 2019-12-06 08:00:00 UTC
tags: friday-frontend, css, javascript, webdev
canonical_url: https://zendev.com/2019/12/06/css-subgrids-are-here-edition.html
---

Happy Friday! Hope you had a great week, and are going to have a great weekend.

There are a lot of great articles in this week’s edition, but there are 2 in particular I want to draw your attention to. First, the Firefox announcement with the latest version of Firefox means that CSS Subgrid is now LIVE in a browser. This is another huge step forward for the CSS world. The second is the article about CSS Architecture in modern JavaScript Applications.  It is a tremendously deep and thoughtful piece - if you’re using any form of CSS-in-JS solution, or even working in a component-based JS application and trying to figure out your CSS strategy, I highly recommend it.

Enjoy!

Best,  
KBall from ZenDev

P.S. Special announcement, I’ve just joined the engineering team at a startup called [Humu](https://humu.com/). Don’t worry, it won’t get in the way of this newsletter, but may mean I’m slightly less responsive to email inquiries during the week, and I’ll no longer be offering 1 on 1 coaching. Also, if you’re interested in joining a diverse team that is using science, machine learning, and a little bit of love to make work better for businesses everywhere, [we are hiring](https://humu.com/company/#openings). ;)

#### CSS & SCSS

##### [Case Study: lynnandtonic.com 2019 refresh](https://lynnandtonic.com/thoughts/entries/case-study-2019-refresh/)

This is simply delightful! A wonderfully whimsical take on a [website landing page](https://lynnandtonic.com/) that animates and changes as you resize the page (Go play with it! Zoom in and out! It’s fun!), and a coherent and easy-to-follow explanation of the techniques used to achieve it.

  

##### [Avoiding jagged edges on gradients.](https://medium.com/pixel-and-ink/avoiding-jagged-edges-on-gradients-f485cc7401f5)

Simple quick hit CSS tactic. Lets you create angled color transformations without jagged pixelization.  Love it!

  

##### [Simplified Fluid Typography](https://css-tricks.com/simplified-fluid-typography/)

I love this concept of “clamped” fluid typography; to me it fits extremely well with the “fluid” approach to responsiveness that is encouraged by flexbox layouts. We should no longer be thinking of responsiveness as a set of rigid snapshots at different breakpoints, but continuous variation between certain “sanity” clamps.

  

##### [How to Overlap Images in CSS](https://bricampgomez.com/blog/how-to-overlap-images-in-css/)

Great article on using CSS Grid to overlap images without taking them out of flow - complete with fallback CSS that works on the same markup for those who have to support IE. Bonus: This site has a wonderfully whimsical stylistic touch taking advantage of custom cursor images.

  

##### [The Power (and Fun) of Scope with CSS Custom Properties](https://css-tricks.com/the-power-and-fun-of-scope-with-css-custom-properties/)

Super fun article exploring what you can do by taking advantage of scope with CSS custom properties. While I wouldn’t recommend getting rid of semantic classes with inline variable setting (as shown in one example), the ability to do programmatic variation of parameters is fascinating, and the improvements of readability & code length even within the semantic classes is phenomenal.

  
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CE7D6K7I&amp;placement=zendevcom" id="_carbonads_js"></script>
#### JavaScript

##### [CSS Architecture for Modern JavaScript Applications](https://www.madebymike.com.au/writing/css-architecture-for-modern-web-applications/)

Putting this in the JavaScript section because it’s only really relevant for folks who are using CSS-in-JS and other modern JavaScript, but really I recommend it to everyone. A tour de force on how to think about UI components and UI states in modern component-oriented systems.

  

##### [The 2019 State of JavaScript Survey](https://survey.stateofjs.com/)

This link is for taking the survey - results will be out later. This survey has been getting better and better each year, but still has some representation problems due to the concentration of their audience within the React community. Particularly if you’re in another part of the JavaScript/frontend ecosystem, make sure you take time to make your voice heard! (Also, there’s a [neat blog post](https://www.freecodecamp.org/news/whats-new-in-the-2019-state-of-javascript-survey/) about what’s new in the survey this year)

  

##### [Top ways to learn Vue 3](https://www.vuemastery.com/blog/top-ways-to-learn-Vue-3/)

Excellent roundup of materials to get ready for the Vue 3 release, which is currently scheduled to come out in Q1 of next year. I’m super excited for this! It’s going to be a huge step forward in the Vue ecosystem, and I can’t wait to see the patterns that emerge as folks start to use the new functionality.

  

##### [The complete guide to building a smart data table in React](https://dev.to/bnevilleoneill/the-complete-guide-to-building-a-smart-data-table-in-react-538p)

I’ve gotten asked about smart data tables pretty regularly. It’s a problem that just seems to arrive a lot, particularly in admin/business dashboards. This is a nice rundown of options available from libraries in React, what some of the tradeoffs are, and how to do an implementation. I’d love to see a similar article for Vue.

  

#### Other Awesomeness

##### [Firefox 71: A year-end arrival](https://hacks.mozilla.org/2019/12/firefox-71-a-year-end-arrival/)

This is a HUGE release, with some amazing new stuff, but I’m going to focus on just one massively important feature. CSS Subgrid! Subgrid has been loooooong awaited and I’m super excited to see it finally hitting browsers; this enables some amazing new functionality in terms of nesting components within grid.

  

##### [There is no “Myths of Color Contrast Accessibility”](https://www.creativejuiz.fr/blog/en/user-experience/there-is-no-myths-of-color-contrast-accessibility)

This article is a followup/response to another [interesting article](https://uxmovement.com/buttons/the-myths-of-color-contrast-accessibility/) published a month and a half ago. Neither is perfect - I have agreement and disagreement with both - and there is some rambling, but I found them both fascinating explorations of a very tricky topic: colors. And particularly how you deal with brand colors that don’t create great contrasts when used in buttons with “common sense” text colors.

  

##### [WhoCanUse](https://whocanuse.com/)

While we’re talking about color and accessibility, this is a super neat new website that lets you put in color pairs and breaks down not only the contrast ratio, but what types of visual disabilities are going to have trouble seeing it. I also enjoyed the visual display of what a contrast might look like to those folks with particular challenges, e.g. red/green colorblind, etc. Very cool!

  

##### [Semantic sidenotes for the web](https://www.kooslooijesteijn.net/blog/semantic-sidenotes)

Fascinating look through an effort to make truly semantic sidenotes with HTML, that behave properly across various devices including screen readers. 

  

##### [Checklist to avoid the most common accessibility errors](https://www.brucelawson.co.uk/2019/checklist-to-avoid-the-most-common-accessibility-errors/)

Super useful! A quick hits rundown of the most common accessibility errors, tools for diagnosing them, and recommendations for how to fix. Love it!

  

* * *

#### Happy Friday!

That's it for this week's Friday Frontend newsletter. If you enjoyed this, you should probably [follow me on Twitter](https://twitter.com/kbal11) or join my mailing list. Sign up to get these newsletters straight to your inbox every Friday! Sign up here: [https://zendev.com/friday-frontend.html](https://zendev.com/friday-frontend.html)