Myno :myno_sit:mynotaurus@floofy.tech
Nov 22, 2026, 9:06 PM@dragonarchitect ohhh huh neat! ty
@dragonarchitect ohhh huh neat! ty
@mynotaurus And since I decided to re-skim the MDN docs about it, apparently you could even just define each stop with two stop positions if being explicit about it makes you feel more confident that it will work properly, so it could also be done as:
linear-gradient(to right, var(--highlight-3) 0% var(--val), transparent var(--val) 100%);
(The "to right" is the same as your original 90deg direction as well!)
TIL :3
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/gradient/linear-gradient