Pinned
π A onceβweekly roundup of the best #frontend news, articles and tutorials. HTML, CSS, WebGL, Canvas, browser tech, and more: frontendfoc.us
Frontend Focus π
@frontendfocus.bsky.social
HTML, CSS, web platform, and browser tech news + demos, tricks, and tips (via the Frontend Focus newsletter) π Curated by Chris Brandrick.
1.9K followers66 following506 posts
Pinned
π A onceβweekly roundup of the best #frontend news, articles and tutorials. HTML, CSS, WebGL, Canvas, browser tech, and more: frontendfoc.us
Frontend Focus π reposted
Did you know the State of HTML 2026 survey is currently open? Go take it and brush up on new (and old) browser APIs! survey.devographics.com/en-US/survey...
Frontend Focus π reposted
JPEG XL vs AVIF for web use-cases. Jake Archibald benchmarked both: AVIF produces smaller lossy files for photos, screenshots, and transparency, while JPEG XL wins at lossless. His default is AVIF 4:4:4 at high effort. #image #performance jakearchibald.com/20...
Frontend Focus π reposted
More range sliders with fancy shapes? Let's go! This time with a tooltip showing the value. curve, wave, zig-zag, arc ... Which one do you prefer? css-tip.com/shaped-range... 0% JavaScript and 100% CSS magic (border-shape, shape(), scroll-driven animations, and more!)
Who said range sliders need to be straight and boring?! Hey CSS, distort the line! γ°οΈ css-tip.com/wiggly-range... Another funny demo powered by border-shape, scroll-driven animations, and more The HTML code? Only an input element (no extra code is needed)
Frontend Focus π reposted
"Scroll-triggered animations: Variable Font: expand, shrink, squoosh" by utilitybend codepen.io/editor/utili...
Frontend Focus π reposted
Frontend Focus π reposted
Yesterday, the CSSWG accepted my proposal for mesh gradients and diffusion curve gradients! Want to make gradients like this natively in CSS? Well, we've started the work on it. It's coming! Here's the Explainer: github.com/w3c/csswg-dr...
Frontend Focus π reposted
Need sortable tables? My table-sortable web component adds accessible, customizable sorting to ordinary HTML tablesβand they still work when JavaScript doesnβt. www.aaron-gustafson.com/notebook/sor...
Frontend Focus π reposted
A candidate for Interop 2027: Scroll-Triggered Animations, the missing key to scrollytelling in CSS. I wanted to create demos showing how to wire them up and easily create fun effects (especially with typography). To be complete, I also added syntax info, tips, and tricks. Happy scrolly!
Frontend Focus π reposted
The CFP is open for 10 more days. So far, I have only 11 submissions, but I need at least 24. So, please share your ideas! First-time authors are very welcome!
Friends, it's that time of the year: Once again, I'm asking you to help me create another amazing HTMHell Advent Calendar by writing about HTML. The CFP is open until October 3! docs.google.com/forms/d/e/1F...
Frontend Focus π reposted
Wavy illusion γ°οΈ The cyan and magenta lines are the same length and do not change at all. π΅ (CSS only) π Live demo on @codepen.io: codepen.io/editor/amit_...
Frontend Focus π reposted
Excited to see we'll eventually have responsive iframes. It's a one-liner in CSS with `frame-sizing: content-height;` but it does require a meta tag to opt-in from the embedded doc as well. Currenly only behind a flag in Chrome, but will be nice to have once it starts landing.
Frontend Focus π reposted
Interop 2027 prep is now. Want to help? 1. Go to developer-signals.rviscomi.workers.dev 2. Sign-in using GitHub 3. Find features you need 4. Click the comment icon, add your use case 5. Submit There aren't many ways to tell browsers what you need and why you need them. That's a very effective one.
Frontend Focus π reposted
Hover Proximity Using Modern CSS You can always easily style :hover, but what if you want the NEXT item to have styling too? Or, just a smidge harder, the PREVIOUS item. How about multiple in any direction?
Frontend Focus π reposted
We've given our online CSS selector specificity calculator some nice upgrades! - Improved resolution of function nested specificity - Highlighting parts while you type (using OpagueRange + Highlight API) - Explore your selector by hovering over each part Check it out: polypane.app/css-specific...
Frontend Focus π reposted
βοΈ New Article: Balancing flex items with flex-wrap: balance I explored flex-wrap: balance and flex-line-count and really enjoyed using them. I even made a masonry layout by mixing flex-line-count, round, clamp, and container queries units! π ishadeed.com/article/flex...
Frontend Focus π reposted
Frontend Focus π reposted
When you scroll a 2D scroller on the web, the browser may ignore some minor scroll deltas in the non-main scrolling axis when the userβs intent was to scroll only one axis. Sometimes this βrailingβ gets in the way β¦ and with `scroll-axis-lock: none`, you can soon remove it π brm.us/scroll-axis-...
Frontend Focus π reposted
My talk on pragmatic browser support at the @pixelpioneers.co conference is now live www.youtube.com/watch?v=uOtx... I talk about Baseline, polyfills, progressive enhancement, and cover a bunch of interesting web platform features along the way.
Frontend Focus π reposted
π New CSS Article! You know the <img> element, right? It's one of the most-used elements, and yet it hides a secret. π€« What kind of secret? Read my latest article to know about it (You will be surprised!) master.dev/blog/somethi...
Frontend Focus π reposted
macromedia shockwave, print ad (1999) archive.org/details/eu_W...
Frontend Focus π reposted
π₯ New blog post: In defense of polyfills A highly influential spec editor expressed the opinion that polyfilling is harmful. I beg to differ. lea.verou.me/blog/2026/po...
π Issue 749 of Frontend Focus is out now: frontendfoc.us/issues/749
Frontend Focus π reposted
What's new in Edge for web developers: our new series to learn about the newest features in Edge (and Chromium), experiments you can test now, and highlights from the broader ecosystem. In this issue: CSS gap decorations, focusgroup, PWA migration, and more! β‘οΈ blogs.windows.com/msedgedev/20...
Frontend Focus π reposted
π New CSS Article! I wrote about border-shape. A super powerful feature! You might think I'm exaggerating but I am not. css-tricks.com/get-ready-fo... This is just a tiny overview of its potential. Stay tuned for more articles/demos that will blow your mind (I am still not exaggerating!)
Frontend Focus π reposted
Just published a blog post about the new CSS Anchor Positioning API! β Iβve been learning about it over the past few weeks, and itβs frigginβ great, but it also took me a minute to really get the hang of it. My goal in this post is to share the most useful bits, so you can start using it today. π₯
Frontend Focus π reposted
This was a really fun article to write/experiment to do! I messed with how things were rendering across browsers for... far too long. AI could never! cassidoo.co/post/radial-...
Frontend Focus π reposted
There's an ideal set of sizing constraints for custom <select>, but the CSS is a bit tricky. Here's how to make it work, and a tour of new CSS features along the way. jakearchibald.com/2026/goldilo...
Frontend Focus π reposted
π€new postπ€ Modes and Themes That Stick - Building a Persistent Toggle Solution I walk us through a three-layer, progressively enhanced, approach to mode and theme switching. https://www.alwaystwisted.com/articles/modes-and-themes-that-stick-building-a-persistent-toggle-solution ππ€
Frontend Focus π reposted
I spent the last month obsessed with finding colors that can't be displayed on a conventional screen. This is what I found. moultano.wordpress.com/2026/06/19/w...
Frontend Focus π reposted
Reminder: The State of CSS Survey is closing *SOON*, so **NOW** is the moment to complete it. stateofcss.com/en-US/ This survey directly influences efforts like Interop and feature planning, so this is **YOUR** moment to let browser vendors know what you find missing on the web!
Frontend Focus π reposted
Frontend Focus π reposted
Using Scroll-Driven Animations for Opposing Scroll Directions by @silvestar.codes css-tricks.com/scroll-drive...
Frontend Focus π reposted
The Chrome DevTools team are doing a "papercuts" sprint where they try to address lots of small, irritating bugs and annoyances. Reply with crbug.com links (no bug, no fixβthat's the deal!) and will see what we can do. No promises though as some may be features/too big/unclear how to solve.
Frontend Focus π reposted
Storied Colors is a catalogue of 250 named colors, from pigments, chemical formulas and dyes to a few digital hues, each tied to documented evidence for its name and history. You can browse all the colors, or simply check the color of the day. storiedcolors.com/
Frontend Focus π reposted
Frontend Focus π reposted
This excellent post from @vale.rocks takes a deep dive into the web browsers found within various game consoles.
Frontend Focus π reposted
Cross-document view transitions bring app-like page transitions to any classic website, one CSS rule, no JavaScript. www.rotecodefraktion.de/en/blog/css-... #CSS #Frontend #HTML #WebDevelopment
Frontend Focus π reposted
Frontend Focus π reposted
Replying to @jensimmons.bsky.social
And learn more watching Learn CSS Grid Lanes at #WWDC26! youtu.be/NDwoB2PpwgY #css #gridlanes #cssday #thewebyouwant
Frontend Focus π reposted
Interested in CSS Grid Lanes? We just launched the Field Guide to Grid Lanes! gridlanes.webkit.org Itβs got everything you need in a fun interactive playground + tons of demos. (And read about the Field Guide at: webkit.org/blog/18098/i...) #CSSDay #wwdc26 #CSS
Frontend Focus π reposted
The State of CSS survey is out! It's shorter this year! Please go take it! survey.devographics.com/en-US/survey...
Frontend Focus π reposted
Frontend Focus π reposted
What about a straight line that bends when the circles get closer and stretches when they get farther. It's surely not possible using pure CSS, right? Right!? π css-tip.com/bending-line/ Probably my new favorite demo, powered by the modern features. CSS is awesome! π
π‘ CSS Tip! Connecting two circles with a curved line using only CSS? Yes, it's possible! π€© css-tip.com/connected-ci... A demo powered by the future of CSS (border-shape, if(), anchor position, etc). Update your Chrome and play with it! Stay tuned for more complex connections π
Frontend Focus π reposted
if we make it to $100K before the campaign ends today I will shave my beard off on a livestream build.awesome.me
Frontend Focus π reposted
Frontend Focus π reposted
contrast-color() is Baseline Newly Available, so I took a look at the basics of how it works, and a fun way to use it with color-mix() and light-dark() youtu.be/JEJbSGtZxOw
Frontend Focus π reposted
Little side project! β¨οΈ wf: a little command line tool to search for web features and associated data like browser compat/Baseline, docs, links to bugs, and more π Install and learn more at www.npmjs.com/package/web-...
Frontend Focus π reposted
Safari 26.5 is here! It includes the :open pseudo-class, the element-scoped keyword for random(), color-interpolation for SVG gradients, the ToggleEvent.source property for popovers, and the Origin API. And a ton of polish and fixes. webkit.org/blog/17938/w...
Frontend Focus π reposted
New blog post: Compositing & Blending! π₯³ I spent the last few months reading all about blend modes so you don't have to: You'll learn what compositing and blending are, and what is actually going on under the hood when you apply blend modes in CSS π¨ nik.digital/posts/compos...