CSS Gradient Shadow 😎
A pseudo-element, sized and positioned within the container, offset + scaled with transforms, then blurred with filters
demo codepen.io/argyleink/pen/WNx…
ALT a rounded, green to blue, rectangle with a green to blue shadow effect underneath, as if the colors of the surface of the rectangle are sent into the underlying shadow.
Folks who write CSS:
What `-webkit-` prefixes do you still use most often?
I mean, which (if any) that you have to use to get things to work (not stuff a tool generates en masse).
Are there any `-webkit-` prefixed properties that you most want to have as real CSS properties?
🚨 Add a custom color to your forms in 1 line of CSS: INTRODUCING the accent-color property!!
`accent-color: pink`= pink checkboxes, radio buttons, sliders, etc.
Landing in:
Chromium 93 (Aug 31)
Firefox 92 (Sept 7)
Read:
web.dev/accent-color/
Try it:
accent-color.glitch.me/
"Basically, any time you run across some cool front-end thing, there might be an opportunity to make an interactive generator for that thing." —@johnpolacekcss-tricks.com/building-a-co…
Napkin: Sorta like Zapier, except you write code (if you want to) to make easy-to-build cloud functions that can be triggered by anything from RSS to HTTP requests to Slack messages. css-tricks.com/napkin/
Parsing, processing, enhancing, and converting Markdown needs code. @KittyGiraudel has a way to keep Markdown out of the client in a Next.js application. css-tricks.com/responsible-m…
One of the smaller and, yet for some reason, super exciting things about CSS nesting is how we'll be able to nest media queries. css-tricks.com/css-nesting-s…
Cross-origin iframes are basically the heart of how CodePen works. You write code, we execute it for you in an iframe that doesn't share the same domain as CodePen itself, as the first line of defense. We didn't hear any heads up or anything. css-tricks.com/choice-words-…
Recent Nuxt releases are taking the developer experience to the next level, with some newer features that speed up and simplify developer processes. @sarah_edo shows us what's new in this post! css-tricks.com/new-nuxt-feat…