Using Absolute Value, Sign, Rounding and Modulo in CSS Today
28.7.2021
For quite a while now, the CSS spec has included a lot of really useful mathematical functions, such as trigonometric functions (sin(), cos(), tan(), asin(), acos(), atan(), atan2()), exponential functions (…
The post Using Absolute Value, Sign, Rounding and Modulo in CSS Today appeared...
Learnings From a WebPageTest Session on CSS-Tricks
28.7.2021
I got together with Tim Kadlec from over at WebPageTest the other day to use do a bit of performance testing on CSS-Tricks. Essentially use the tool, poke around, and identify performance pain points to work on. You can watch …
The post Learnings From a WebPageTest Session on CSS-Tricks...
ES2021 Features
28.7.2021
Hemanth HM very succinctly shows off ES2021 features. Gosh it doesn’t feel like that long ago that all we could talk about is ES2015, and now that’s over a half-decade behind us. New things include “arbitrarily chuck underscores in numbers.” …
The post ES2021 Features...
CSS Logical Properties and Values
27.7.2021
Now that cross-browser support is at a tipping point, it’s a good time to take a look at logical properties and values. If you’re creating a website in multiple languages, logical properties and values are incredibly useful. Even if you’re …
The post CSS Logical Properties...
Demystifying styled-components
27.7.2021
 Joshua Comeau digs into how styled-components works by re-building the basics. A fun and useful journey.
styled-components seems like the biggest player in the CSS-in-React market. Despite being in that world, I haven’t yet been fully compelled by it. I’m …
The post...
How I Built a Cross-Platform Desktop Application with Svelte, Redis, and Rust
26.7.2021
At Cloudflare, we have a great product called Workers KV which is a key-value storage layer that replicates globally. It can handle millions of keys, each of which is accessible from within a Worker script at exceptionally low latencies, …
The post How I Built a Cross-Platform Desktop...
Slinkity
26.7.2021
Perhaps the #1 reason I love Astro is that it brings the JavaScript component authoring experience to the Static Site Generator world with zero JavaScript (except bits you very specifically opt-in to). That HTML-first approach is also why I like …
The post Slinkity appeared first...
Web Features That May Not Work As You’d Expect
23.7.2021
As the web gets more and more capable, developers are able to make richer online experiences. There are times, however, where some new web capabilities may not work as you would expect in the interest of usability, security and privacy.…
The post Web Features That May Not Work As You’d...
My petite-vue review
23.7.2021
Dave:
petite-vue is a new cut of the Vue project specifically built with progressive enhancement in mind. At 5kb, petite-vue is a lightweight Alpine (or jQuery) alternative that can be “sprinkled” over your project requiring no extra bundling steps
…
The post My petite-vue...
Organize your CSS declarations alphabetically
23.7.2021
Eric, again not mincin’ no words with blog post titles. This is me:
The most common CSS declaration organization technique I come across is none whatsoever.
Almost none, anyway. I tend to group them by whatever dumps out of my …
The post Organize your CSS declarations alphabetically...
Collective #671
22.7.2021
Building a breadcrumbs component * Designing for the Unexpected * Streambus * Graphlatte * Uniclode
The post Collective #671 appeared first on Codrops
Using Google Drive as a CMS
22.7.2021
We’re going to walk through the technical process of hooking into Google Drive’s API to source content on a website. We’ll examine the step-by-step implementation, as well as how to utilize server-side caching to avoid the major pitfalls to avoid …
The post Using Google Drive as a...