Post

daniel petho
daniel petho@nonzeroexitcode·
this effect can be achieved using only css by combining the :has() and :not() pseudo-classes: `.menu:has(.item:hover) .item:not(:hover) { filter: blur(8px); }` which simply means: when a menu has a hovered item, blur every item inside it that isn't being hovered
English
12
8
318
18.1K
lesetong
lesetong@dustbin768384·
@nonzeroexitcode the css trick is cool,but i dont think i this design has a good user experence
English
1
0
5
150
Paylaş