Wulan’s catalogue photo on the Sanggar’s frame: build your own filter chain, reorder it, see each jar’s colour after every step, and what happens to a fixed…
filter is used for image hovers (grey to colour), images in dark mode, dimming, and a drop-shadow that follows a PNG’s shape. Plain CSS with no extra assets, but it makes a new stacking context and containing block, and a big blur can be heavy.
Filter functions run in order, left to right
filter other than none makes a new stacking context, like opacity under 1 or transform. A child’s z-index only counts inside that element. Put the filter on a smaller element (say the img inside the card). See the "z-index & stacking" explorer too.blur on a big element Blur mixes every pixel with its neighbours out to about three times its radius, and is worked out again on every repaint. Use it on small elements with a small radius, and be careful animating it.drop-shadow is the same as box-shadow filter: drop-shadow() follows the parts that are not transparent (PNG/SVG); box-shadow is always the element’s box. drop-shadow has no spread and no inset either.hue-rotate yourself The whole colour wheel turns: indigo can become soga, soga blue. 360deg comes back to the start.drop-shadow Pick the flower picture, add drop-shadow, and compare it with the right flower’s box-shadow: one follows the petals, the other is a box..kain any filter: the browser says the price board is on top. Move the filter to .kain img and the badge comes back up.