CSS :nth-child() supported???
-
Is :nth-child() supported in HISE's implementation of CSS?
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:nth-childI'm looking to do different things to each of the draggers in the modulation controller. But it doesn't seem to work?
-
Yes, it seems it doesn't support it.
besides
I would also like to request CSS animation functionality.
@keyframes -
@Felix-W Bah.... I'm just gonna write my own modulation controller then. TBH, I prefer that anyway, coz css still messes with my head.
-
@Orvillain you should be able to access them by the #id selector individually, no?
-
@Christoph-Hart said in CSS :nth-child() supported???:
@Orvillain you should be able to access them by the #id selector individually, no?
If I can, then I'm stupid. Coz I couldn't figure it out! Is okay.... I'm three quarters of the way there with my own matrix controller now!
-
Ah sorry, no you can't. The inspector shows all available selectors and the ID isn't one of them.

(The matrix columns can be addressed through the ID but I thought I've added it here to, but apparently that's not the case).
But yeah if you're almost there, just go with your own dragger. Note that there's a snippet in the example database that also gets you 80% there:
https://docs.hise.audio/tutorials/ui/index.html#drag-modulated-parameter