
Back/forward cache — I always assumed browsers just do fancy stuff with the back/forward buttons and us developers had very little control. Philip Walton tells us it’s critical that we understand “what makes pages eligible (and ineligible) for bfcache to … The post Some Performance Blog Posts I’ve Bookmarked and Read Lately appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter. https://css-tricks.com/some-performance-blog-posts-ive-bookma

Here’s a fun CSS trick to show your friends: a large title that switches from a solid color to knockout text as the background image behind it scrolls into place. And we can do it using plain ol’ HTML and …
The post Going From Solid to Knockout Text on Scroll appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/going-from-solid-to-knockout-text-on-scroll/

I poked at a tweet from Ken Kocienda over the weekend:
“Water not wet” reports man standing in ocean. https://t.co/5oUUdWARTU — Chris Coyier (@chriscoyier) January 31, 2021 I don’t know Ken, so I feel a little bad for being harsh. …
The post The Web is for More Than Document Viewing appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/the-web-is-for-more-than-document-viewing/

One was the footer of an (older) U.S. Government website. The other was the navigation for AWS services from the AWS Console.
The post I Saw Two Mega Menus Today… appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

A friend once contacted me asking if I had a way to dynamically change one HTML element into another within Vue’s template block. For instance, shifting a element to a element based on some criteria. The trick was …
The post Dynamically Switching From One HTML Element to Another in Vue appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/dynamically-switching-from-one-html-element-to-another-in-vue/

Here’s the situation: Your site offers a “scroll back to top” button, and you’ve implemented smooth scrolling. As the page scrolls back to the top, users see something that catches their eye and they want to stop the scrolling, so …
The post “Cancelable” Smooth Scrolling appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Robert Nyman:
Open Web Docs was created to ensure the long-term health of web platform documentation on de facto standard resources like MDN Web Docs, independently of any single vendor or organization. Through full-time staff, community management, and
…
The post Open Web Docs appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://opencollective.com/open-web-docs/updates/introducing-open-web-docs

Totally free course from Pablo Stanley. Can’t beat that. Figma is just blowing up, and for good reason. It’s good software aligned with what digital designers need. It’s fast. It’s on the web, so you can’t lose stuff and …
The post Figma Crash Course appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

My mind goes immediately to repeating-linear-gradient and hard-stop gradients when thinking of creating stripes in CSS. You make one stripe by using the same color between two color stops, and another stripe (or more) but using a different color …
The post No-Jank CSS Stripes appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

A clever use of CSS grid from Jay Freestone to accomplish a particular variation of the media object design pattern (where the image is centered with the title) without any magic numbers anything that isn’t flexible and resiliant. The trick …
The post Bulletproof flag components appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.