@mahryekuh Haha, all good! Always happy to answer some CSS questions so let me know if I can help!
Posts
-
Question about CSS custom properties: -
Question about CSS custom properties:@mahryekuh You're very welcome! As for your question, I'm not sure I follow what you mean by immutability: in which context?
-
Question about CSS custom properties:@mahryekuh Say you have this:
```
html { --color: red; }
body { color: var(--color); }
```
With inherits set to true, it gives you red text in the body.
With inherits set to false, the value falls back to the initial-value (its omission invalidates the entire @\property rule unless syntax is set to '*'). -
Is there any way to make an image comparison slider / onion skin view *without* JavaScript?@Edent @zachleat Has built a decent no-JS fallback using radio inputs and :has() but there might be a future where a slider can control it with some CSS magic (is it scroll animations? I don't recall)
EDIT: Found it: https://demo-webc-image-compare.netlify.app/