Frontend Focus πŸš€

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

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!)

CSS by T. Afif@css-only.dev

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

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

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!

utilitybend.comScroll-triggered animation as the missing piece for scrollytelling on the web | utilitybendAn in-depth look at CSS scroll-triggered animations (animation-trigger), how view ranges and actions work, sibling-index staggering, and progressive enhancement.

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

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.

developer.chrome.comResponsive iframes in Chrome 154 Β |Β  Blog Β |Β  Chrome for DevelopersChrome 154 adds support for responsively-sized iframes, letting an iframe size itself based on the intrinsic size of its embedded document.

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?

blog.master.devHover Proximity Using Modern CSSYou 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

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

πŸ“ 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...

master.devSomething Nobody Told You About The Image Element (It Can Overflow!)You normally don't think of images as overflowing themselves, nor can you put anything else inside to make it overflow, but actually...

Frontend Focus πŸš€ reposted

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...

blogs.windows.comNew in Edge for developers – Style layout gaps, improve keyboard accessibility and migrate your PWA to a new originWelcome to New in Edge for developers, a new series featuring recent web platform updates in Microsoft Edge that help web developers build better sites and apps. In this first edition, we'll look at ...

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!)

css-tricks.comGet Ready For the Powerful CSS border-shape Property!We recently got the shape() function and corner-shape property. What else could we possibly need as far as making shapes in CSS? Let me tell you: the border-shape property!

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. πŸ”₯

joshwcomeau.comGetting Started with Anchor Positioning β€’ Josh W. ComeauFor decades, one of the most notoriously-challenging problems on the web has been sticking one element to another element, for things like tooltips and nested menus. The CSSWG has decided to provide a...

Frontend Focus πŸš€ reposted

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

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.

crbug.comChromium

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

Does anyone have any experience taking the website remnants from the Wayback Machine and rebuilding that website? As a kind of preservation/memorial?

Frontend Focus πŸš€ reposted

Frontend Focus πŸš€ reposted

Frontend Focus πŸš€ reposted

Just realized that one of my favorite easter eggs I made while at Stripe is still on the /jobs page… The monitor in the photo mimics everything you do on the page itself. πŸ₯šπŸ’… (only visible on Firefox because it uses an experimental feature)

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 by T. Afif@css-only.dev

πŸ’‘ 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

❓ A question for web developers ❓ If you do layout in CSS, what's missing? I'm especially interested in hearing about use cases that aren't yet solved by existing CSS layout features. #css #webdev

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...

webkit.orgWebKit Features for Safari 26.5Safari 26.5 is here, delivering 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...