TAG
Elements tagged surface
8 elements, each rendered live with its source and the one thing that breaks it.
- A shadow that knows the shape filter: drop-shadow()
- Four faint shadows beat one dark one box-shadow ×4
- Five colours out of one token oklch(from …)
- The same two colours, mixed two ways color-mix()
- Type that inverts itself over anything mix-blend-mode: difference
- One declaration that covers both themes light-dark()
- A gradient border that keeps its corners background + padding
- Frosted glass over anything backdrop-filter