Search
DevTools for CSS layouts 2021 edition
14.5.2021
Chen Hui Jing covers some recent movement in DevTools:
Firefox’s grid inspector was pretty full-featured from the get-to and released together with CSS grid in Firefox 52. It was constantly improved upon since. Chrome added a basic grid inspector
…
The post DevTools for...
Topframe
10.5.2021
This is extremely fun. Jeff Lindsay has created Topframe, and writes:
Anybody that knows how to mess around with HTML can now mess around with their desktop computing experience. Topframe is an open source tool that lets you
…
The post Topframe appeared first on CSS-Tricks.
You...
Apparently, You Can Use Route53 as a Blazingly Fast Database
6.5.2021
Routtumbe53 is DNS management service by AWS. DNS is absolutely not a database, and yet here’s Nicholas Martin writing up some very clever trickery originally done by Corey Quinn:
When you think about it, DNS configuration is actually a
…
The post Apparently, You Can Use Route53...
Apparently, You Can Use Route53 as a Blazingly Fast Database
6.5.2021
Route53 is DNS management service by AWS. DNS is absolutely not a database, and yet here’s Nicholas Martin writing up some very clever trickery originally done by Corey Quinn:
When you think about it, DNS configuration is actually a
…
The post Apparently, You Can Use Route53 as...
Number of Homes
4.5.2021
???? They say an average person lives in 11 homes in their lifetime. What’s your number? (I’m currently at 8????)
— CanadianPam (@PamelaApostolo1) May 1, 2021
Hmmmmm!
I’m not even sure what house I lived in when I was born.
…
The post Number of Homes appeared first...
Web Languages as Compile Targets
30.4.2021
Jim Nielsen quoting Eric Bailey:
He references an example on Twitter where someone noted you can use the <details> element to “create a native HTML accordion,” to which someone responded: “this works without Bootstrap? 🤯”
What’s the problem here? From
…
The post...
Eliminating five top compatibility pain points on the web
23.4.2021
Robert Nyman and Philip Jägenstedt:
Google is working with other browser vendors and industry partners to fix the top five browser compatibility pain points for web developers. The areas of focus are CSS Flexbox, CSS Grid, position: sticky, 
…
The post Eliminating five...
The Almost-Complete Guide to Cumulative Layout Shift
22.4.2021
Here’s Jess B. Peck writing all about Google’s Core Web Vitals:
Let’s step back one. CLS is when you’re about to click on a link, and the whole page shifts and you click on a different link instead. It’s when
…
The post The Almost-Complete Guide to Cumulative Layout Shift...
How to Improve CSS Performance
19.4.2021
There is no doubt that CSS plays a huge role in web performance. Milica Mihajlija puts a point on exactly why:
When there is CSS available for a page, whether it’s inline or an external stylesheet, the browser delays rendering
…
The post How to Improve CSS Performance appeared first...
SvelteKit is in public beta
7.4.2021
Rich Harris:
Think of it as Next for Svelte. It’s a framework for building apps with Svelte, complete with server-side rendering, routing, code-splitting for JS and CSS, adapters for different serverless platforms and so on.
Great move. I find …
The post SvelteKit is...
Designing calculator apps
1.4.2021
It is extremely weird that the calculator apps, even the default ones baked into desktop operating systems, embrace the UI and UX of those little cheap-o plastic physical calculators. I like what Florens Verschelde’s Math teacher had to say:
I
…
The post Designing calculator apps...
You want margin-inline-start
30.3.2021
David Bushell in ”Changing CSS for Good“:
I’m dropping “left“ and “right“ from my lexicon. The new CSS normal is all about Logical Properties and Values […] It can be as easy as replacing left/right
…
The post You want margin-inline-start appeared first on CSS-Tricks.
You...
How to describe element’s natural sizing behavior
26.3.2021
PPK:
When introducing width and height I explain that by default width takes as much horizontal space as it can, while height takes as little vertical space as possible. This leads to a discussion of these two opposed models
…
The post How to describe element’s natural sizing...
How to describe element’s natural sizing behavior
26.3.2021
PPK:
When introducing width and height I explain that by default width takes as much horizontal space as it can, while height takes as little vertical space as possible. This leads to a discussion of these two opposed models
…
The post How to describe element’s natural sizing...
The Mobile Performance Inequality Gap
18.3.2021
Alex Russell made some interesting notes about performance and how it impacts folks on mobile:
[…] CPUs are not improving fast enough to cope with frontend engineers’ rosy resource assumptions. If there is unambiguously good news on the tooling front,
…
The post The Mobile...
Web Frameworks: Why You Don’t Always Need Them
10.3.2021
Richard MacManus explaining Daniel Kehoe’s approach to building websites:
There are three key web technologies underpinning Kehoe’s approach:
ES6 Modules: JavaScript ES6 can support import modules, which are also supported by browsers.
Module CDNs: JavaScript modules can now
…
The...
React Without Build Tools
3.3.2021
Jim Nielsen:
I think you’ll find it quite refreshing to use React A) with a JSX-like syntax, and B) without any kind of build tooling.
Refreshing indeed:
CodePen Embed Fallback
It’s not really the React that’s the hard part …
The post React Without Build Tools appeared first...
Use CSS Clamp to create a more flexible wrapper utility
17.2.2021
I like Andy’s idea here:
.wrapper {
width: clamp(16rem, 90vw, 70rem);
margin-left: auto;
margin-right: auto;
padding-left: 1.5rem;
padding-right: 1.5rem;
}
Normally I’d just set a max-width there, but as Andy says:
This becomes a slight issue in mid-sized viewports, such...
Maximally optimizing image loading for the web in 2021
16.2.2021
Malte Ubl’s list for:
8 image loading optimization techniques to minimize both the bandwidth used for loading images on the web and the CPU usage for image display.
Fluid width images in CSS, not forgetting the height and width attributes
…
The post Maximally optimizing image...
The web didn’t change; you did
16.2.2021
I love this piece from Remy Sharp where he argues that the web didn’t get more complicated over the last 20 years, despite what we might think:
Web development did not change. Web development grew. There are more options now,
…
The post The web didn’t change; you did appeared first...