Follow

RT Ana Tudor 🐯🖤🌻
Want to get a progressive grayscale()/ saturate() filter effect, from 0% to normal?
Blend with a gradient from *anything with saturation 0%* to transparent using the color blend mode!
codepen.io/thebabydino/pen/rNQ
May also have a grayscale split twitter.com/anatudor/status/13
<div class="rsshub-quote">
Ana Tudor 🐯🖤🌻:  Would you like to apply `filter: grayscale(1)`, but only partly, not everywhere? You can emulate that with blend modes.
background: url(cat) 50%/ cover,
linear-gradient(-45deg, transparent 50%, grey 0);
background-blend-mode: luminosity
Many variations possible.
</div>
:sys_twitter: twitter.com/anatudor/status/16

· · Twitter · 0 · 0 · 0
Sign in to participate in the conversation
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。