4 ms·
I should probably know this but are those filters usable with animation / transition. For example, color photo (no filter) to b&w filter? Or b&w filter to color
by chiefalchemist 7y ago
I should probably know this but are those filters usable with animation / transition. For example, color photo (no filter) to b&w filter? Or b&w filter to color photo (no filter)
- katsura 7y agoSure they are: figure { filter: grayscale(1); transition: filter .3s ease; } figure:hover { filter: none; }
- _bxg1 7y agoThey do, although the image processing can get sluggish on some devices so your mileage may vary when it comes to smoothly transitioning it.
- mceachen 7y agoAnd by sluggish, it may mean no transition, as the time to compute one frame exceeds the transition time. This is especially true for larger images on older hidpi devices (like mid-range or flagship Android devices from a couple years ago).