Grid Level 2 and Subgrid
I find the concept of subgrid a little hard to wrap my mind around.
I do understand the idea that we want to use nested semantic markup as we like and have elements participate in one grid so we don’t have to flatten our markup just for layout reasons. But that is largely handled by display: contents;.
Rachel Andrew explains it in a way that finally clicked for me:
I have an item spanning three column tracks of the …
The post Grid Level 2 and Subgrid appeared first on CSS-Tricks.
Decorating lines of text with box-decoration-break
An institution’s motto, an artist’s intro, a company’s tagline, a community’s principle, a service’s greeting… all of them have one thing in common: they’re one brief paragraph displayed on a website’s home page — or at least the about page!
It’s rare that just one word or one line of text welcomes you to a website. So, let’s look at some interesting ways we could style the lines of a paragraph.
To see how things currently are, let’s try giving …
The post Decorating lines of text with box-decoration-break appeared first on CSS-Tricks.
WordPress 4.9.6 Beta 1 Adds Tools for GDPR Compliance
VS Code Can Do That?
Clever microsite from Burke Holland and Sarah Drasner that highlights some of VS Code’s coolest features. All fifteen of them are pretty darn cool. Here’s a few other compelling features I’ve seen people use/love:
- There is a terminal right in there, so you don’t need a separate app.
- The GitLens add-on, which shows you who last updated any line of code in your codebase, and when.
- Vim nerds aren’t left out.
- Live Share is coming soon.
- Solis looks like
…
The post VS Code Can Do That? appeared first on CSS-Tricks.
How to Translate Your WordPress Website Using the Weglot Translate Plugin
The post How to Translate Your WordPress Website Using the Weglot Translate Plugin appeared first on Torque.
Design Trend: Dark & Moody Designs
Microsites for Case Studies
A lot of y’all have personal sites. Personal sites with portfolios. Or you work for or own an agency where showing off the work you do is arguably even more important. Often the portfolio area of a site is the most fretted and hard to pull off. Do you link to the live projects? Screenshots? How many? How much do you say? How much of the process do people care about?
I’m afraid I don’t have all the answers for …
The post Microsites for Case Studies appeared first on CSS-Tricks.
Jetpack 6.1, Now With Even More Privacy Information
CSS Environment Variables
We were all introduced to the env() function in CSS when all that drama about “The Notch” and the iPhone X was going down. The way that Apple landed on helping us move content away from those “unsafe” areas was to provide us essentially hard-coded variables to use:
padding:
env(safe-area-inset-top)
env(safe-area-inset-right)
env(safe-area-inset-bottom)
env(safe-area-inset-left);
Uh ok! Weird! Now, nine months later, an “Unofficial Proposal Draft” for env() has landed. This is how specs work, as I understand it. Sometimes browser vendors …
The post CSS Environment Variables appeared first on CSS-Tricks.




