RT jhey 🔨🐻✨
Future UI Tip! 🔮
Styleable <select>s are coming via @openuicg!
The CSS Tip here? 🤔
Using CSS :has() to rotate the knob 🤓
.knob {
rotate: calc((360deg / var(--count)) * var(--active));
}
selectmenu:has([value=spark]:checked) {
--active: 4;
}
@CodePen link below! 👇 https://t.co/siBFY2ZInf