Scott Jehl doesn’t mince words here:
Removing media support from HTML video was a mistake. It means that for every video we embed in HTML, we’re stuck with the choice of serving source files that are potentially too large or
…
The post HTML Video Sources Should Be Responsive appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
Look at that! The :focus-visible pseudo-selector is now supported in Firefox, as of version 85 which shipped yesterday. I had to rush over to the MDN Docs just to confirm, and yep, the :focus-visible page has been updated to …
The post :focus-visible Support Comes to Firefox appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/focus-visible-support-comes-to-firefox/
One of our readers checked out “Helping a Beginner Understand Getting a Website Live” and had some follow up questions specifically about hosting providers. Here’s what they asked:
What’s the difference between hosting providers? For example, what is the difference
…
The post The Differences in Web Hosting (Go with the Happy Path) appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
We’ve covered that individual cells, and can be position: sticky. It’s pretty easy to make the header of a table stick to the top of the screen while scrolling through a bunch or rows (like this …
The post A table with both a sticky header and a sticky first column appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/a-table-with-both-a-sticky-header-and-a-sticky-first-column/
We don’t have “regular” nesting in CSS. Maybe this becomes a thing someday, or something like it. That would be cool, although that pre-spec doesn’t mention anything about media queries. I’d hope we get that right out of the gate …
The post Nested Media Queries appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
As a web developer, I pay close attention to the design of video games. From the HUD in Overwatch to the catch screen in Pokemon Go to hunting in Oregon Trail, games often have interesting mechanics and satisfying interactions, …
The post Recreating Game Elements for the Web: The Among Us Card Swipe appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/recreating-game-elements-for-the-web-the-among-us-card-swipe/
Stefan Judis has a “Today I Learned” (TIL) post explaining how SVGs filters can be inlined in CSS. The idea is that CSS has the filter property which supports some built-in functions, like grayscale(100%) and stuff like that. But …
The post SVG within CSS appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
React framework maturity, early container queries, WASM adoption, and monoliths. I’ll take all four, please. Not feeling like a particularly front-end-y? Jay says:
Interestingly, the biggest developments in the front-end are unlikely to be traditionally front-end concerns. Back in our
…
The post (Jay Freestone’s) Front-end predictions for 2021 appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
This little trick for gradient borders is super useful: .border-gradient { border: 5px solid; border-image-slice: 1; border-image-source: linear-gradient(to left, #743ad5, #d53a9d); } Here’s some basic demos from our article on the subject. Sephanie Eckles was sharing around the idea …
The post Animating a CSS Gradient Border appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://www.bram.us/2021/01/29/animating-a-css-gradient-border/