Search
Safari 14.1 Adds Support for Flexbox Gaps
30.4.2021
Yay, it’s here! Safari 14.1 reportedly adds support for the gap property in flexbox layouts. We’ve had grid-gap support for some time, but true to its name, it’s limited to grid layouts. Now we can use gap in either type …
The post Safari 14.1 Adds Support for Flexbox Gaps...
Jenny B Kowalski’s A-Z (and a-z) as Variable Letterforms
30.4.2021
Jenny B Kowalski has been posting a-letter-a-day on Instagram exploring multi-axis variable/responsive letterforms. They are very clever in that one of the axes controls an uppercase-to-lowercase conversion, literally morphing the shape of the letters from an uppercase version to a …
The...
You Can Label a JavaScript `if` Statement
30.4.2021
Labels are a feature that have existed since the creation of JavaScript. They aren’t new! I don’t think all that many people know about them and I’d even argue they are a bit confusing. But, as we’ll see, labels can …
The post You Can Label a JavaScript `if` Statement appeared first...
Sending Large Files
29.4.2021
I’ve got a podcast that will be 10 years old this coming January! Most of those episodes have one or more guests (plus me and Dave). Despite fancy modern options for recording podcasts with guests, like Riverside.fm or Zencastr…
The post Sending Large Files appeared first...
List Markers and String Styles
29.4.2021
Lists—we’ve all worked with them in one form or another. I’m talking about HTML’s <ol> and <ul>. Much of the time, because we desire styling control, we turn off the list’s markers completely with list-style-type: none, and start …
The post List Markers and String Styles...
Your Team is Not “Them”
28.4.2021
This post was written for engineering managers, but anyone is welcome to read it.
Let’s talk for a moment about how we talk about our teams. This might not seem like something that needs a whole article dedicated to it, …
The post Your Team is Not “Them” appeared first...
How to Create Actions for Selected Text With the Selection API
28.4.2021
Click, drag, release: you’ve just selected some text on a webpage — probably to copy and paste it somewhere or to share it. Wouldn’t it be cool if selecting that text revealed some options that make those tasks easier? That’s …
The post How to Create Actions for Selected Text With...
Shared Element Transitions
27.4.2021
I was just Hoping for Better Native Page Transitions, and Bramus commented that Chrome is working on something. Looks like it has some fresh enthusiasm for it, as there is a brand new repo, and you can literally …
The post Shared Element Transitions appeared first on CSS-Tricks.
You...
A Complete Guide to Custom Properties
27.4.2021
Everything important and useful to know about CSS Custom Properties. Like that they are often referred to as "CSS Variables" but that's not their real name.
The post A Complete Guide to Custom Properties appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter
Exploring color-contrast() for the first time.
26.4.2021
I saw in the release notes for Safari Technical Preview 122 that it has support for a color-contrast() function in CSS. Safari is first out of the gate here. As far as I know, no other browser supports this yet …
The post Exploring color-contrast() for the first time. appeared first...
Using New Gatsby Source WordPress Plugin
23.4.2021
In my previous article, I discussed how I learned to create a decoupled WordPress powered Gatsby site using the Gatsby Source WPGraphQL plugin. The project was done following the ongoing developmental version of WPGraphQL and an excellent tutorial by Henrik …
The post Using New Gatsby Source...
Text That Sometimes Turns to Emojis
22.4.2021
There are some Unicode characters that some browsers just decide they are going to turn into emojis for you. I couldn’t tell you why exactly, but here’s what I see:
Chrome on the left. Safari in the simulator on top…
The post Text That Sometimes Turns to Emojis appeared first...
Tools to Improve UX and Win Over Your Customers
22.4.2021
Try Hotjar for free today!
An enjoyable user experience and high conversion rates go hand-in-hand. It makes sense then, that if you want to improve conversion rates, your first task is to improve user experience.
To improve UX, deeply understanding …
The post Tools to Improve UX and Win Over...
The Making (and Potential Benefits) of a CSS Font
22.4.2021
Not a typical one, at least. Each character is an HTML element, built with CSS. A true web font!
Let me elaborate. This is a way to render text without using any font at all. Random text is split with …
The post The Making (and Potential Benefits) of a CSS Font appeared first...
Still Hoping for Better Native Page Transitions
22.4.2021
It sure would be nice to be able to animate the transition between pages if we want to on the web, at least without resorting to hacks or full-blown architecture choices just to achieve it. Some kind of API that …
The post Still Hoping for Better Native Page Transitions appeared first...
How to Add a Double Border to SVG Shapes
21.4.2021
Let’s say someone asks you to add a double border to some random geometric SVG shapes. For some reason, you can’t use any graphic editor — they need to be generated at runtime — so you have to solve it …
The post How to Add a Double Border to SVG Shapes appeared first on CSS-Tricks.
You...
Intrinsic Typography is the Future of Styling Text on the Web
20.4.2021
The way we style text hasn’t changed much over the years. There have been numerous advancements to help make things more flexible, like layouts, but in terms of styling, most finite aspects of our designs, like text, remain relatively unchanged. …
The post Intrinsic Typography is the Future...
Say Hello to CSS Container Queries
20.4.2021
Container queries are finally here! Now available behind a flag in the latest version of Chrome Canary, you can go ahead and experiment to your heart’s content. Oh, and if you’re not familiar with container queries then check out …
The post Say Hello to CSS Container Queries appeared first...
Float an Element to the Bottom Corner
19.4.2021
Need to lay out an element to the right or the left, such that text wraps around it? That’s an easy task for the float property. But what about if you also want to push that element (let’s call it …
The post Float an Element to the Bottom Corner appeared first on CSS-Tricks.
You can support...
Wallstreetbets Reinstates Ban on Cryptocurrency Discussions, Citing Bloomberg Coverage
16.4.2021
The moderators of the famous Reddit forum Wallstreetbets, known for putting Gamestop (GME) stock prices on the map as a worldwide trending topic, lifted a ban on all discussions related to bitcoin, ethereum, and dogecoin. However, the decision has been reversed after a recently published Bloomberg...