Found 20 bookmarks
Custom sorting
Derek Briggs on X: "Here’s a strategy I use for more natural looking shadows: Adjust your shadow stack sizes to account for a negative spread that’s 1/2 the amount of the Y. To make it even easier, I use a matching Y and Blur for each shadow layer and then set every layer to the same color/opacity. https://t.co/jrYWkr42Bh" / X
Derek Briggs on X: "Here’s a strategy I use for more natural looking shadows: Adjust your shadow stack sizes to account for a negative spread that’s 1/2 the amount of the Y. To make it even easier, I use a matching Y and Blur for each shadow layer and then set every layer to the same color/opacity. https://t.co/jrYWkr42Bh" / X
·twitter.com·
Derek Briggs on X: "Here’s a strategy I use for more natural looking shadows: Adjust your shadow stack sizes to account for a negative spread that’s 1/2 the amount of the Y. To make it even easier, I use a matching Y and Blur for each shadow layer and then set every layer to the same color/opacity. https://t.co/jrYWkr42Bh" / X
Nanda Syahrasyad on X
Nanda Syahrasyad on X
It's a bit of a misconception that an SVG's viewbox has anything to do with its width. For the most part, the SVG's width is controlled by CSS and/or the width attribute *only*, while the viewbox is more akin the SVG's "camera":
·twitter.com·
Nanda Syahrasyad on X
Artur Bień on Twitter
Artur Bień on Twitter
Realistic glass backdrop 🤯In reality we see glass objects reflecting light even before they are placed directly between our eyes and the light source.CSS backdrops, however, blur only intersecting objects. But I've found a solution to that!Here's a demo on @linear website pic.twitter.com/2Lqp2GVAer— Artur Bień (@artur_bien) September 27, 2023
·x.com·
Artur Bień on Twitter
Dmitry Belyaev on Twitter
Dmitry Belyaev on Twitter
New typography structure for 2.0. Getting rid of auto-responsive styles in favor of more granular manual control of how they change at each viewport. While becoming more flexible - it also reduces the amount of style variables shipped in code ⌨️ pic.twitter.com/co43rsmWSi— Dmitry Belyaev (@blvdmitry) February 19, 2023
·twitter.com·
Dmitry Belyaev on Twitter
Vlad Moroz on Twitter
Vlad Moroz on Twitter
You can make any HTML/CSS layout automatically scale to container if you put it into an SVG element.Just discovered it when making this responsive, dark mode aware diagram. pic.twitter.com/NxfasuN6nl— Vlad Moroz (@vladyslavmoroz) January 28, 2023
·twitter.com·
Vlad Moroz on Twitter
Per Harald Borgen 🇺🇦 on Twitter
Per Harald Borgen 🇺🇦 on Twitter
CSS Grid is amazing. Just by adding a single line of code, this image grid becomes fully responsive 🤯 pic.twitter.com/sIQUcHhved— Per Harald Borgen 🇺🇦 (@perborgen) October 14, 2022
·twitter.com·
Per Harald Borgen 🇺🇦 on Twitter
Shu on Twitter
Shu on Twitter
I like this idea a lot and after many years, finally brought it to life... CSS-only magnifier! The demo doesn’t have any JavaScript.Will share the code next week, but I believe some of you can already figure it out :D pic.twitter.com/rTs8aFj2uj— Shu (@shuding_) September 18, 2022
·twitter.com·
Shu on Twitter
Steve Sewell on Twitter
Steve Sewell on Twitter
Make super cool swipe-over sections like Apple in pure CSS!Try it in code: https://t.co/OUvhtQK5IPTry it in @builderio: https://t.co/5RMA37TdIr pic.twitter.com/lOiUdFeHx1— Steve Sewell (@Steve8708) June 25, 2022
·twitter.com·
Steve Sewell on Twitter
HOVERSTAT.ES on Twitter
HOVERSTAT.ES on Twitter
Smart use of a layered mask image with blur filter to create a dreamlike experience for this single-page lookbook. by @okokservices pic.twitter.com/HVCCFyl9vm— HOVERSTAT.ES (@hoverstates) June 16, 2022
·twitter.com·
HOVERSTAT.ES on Twitter