HISE Logo Forum
    • Categories
    • Register
    • Login

    CSS :nth-child() supported???

    Scheduled Pinned Locked Moved Scripting
    6 Posts 3 Posters 38 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • OrvillainO
      Orvillain
      last edited by

      Is :nth-child() supported in HISE's implementation of CSS?
      https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:nth-child

      I'm looking to do different things to each of the draggers in the modulation controller. But it doesn't seem to work?

      Musician - Instrument Designer - Sonic Architect - Creative Product Owner
      Crafting sound at every level. From strings to signal paths, samples to systems.

      1 Reply Last reply Reply Quote 0
      • Felix WF
        Felix W
        last edited by

        Yes, it seems it doesn't support it.

        besides
        I would also like to request CSS animation functionality.😆

        @keyframes
        

        @Christoph-Hart

        //I am a new student at HISE._
        //Windows11 & MacOS Ventura 13.6.7_

        OrvillainO 1 Reply Last reply Reply Quote 0
        • OrvillainO
          Orvillain @Felix W
          last edited by

          @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.

          Musician - Instrument Designer - Sonic Architect - Creative Product Owner
          Crafting sound at every level. From strings to signal paths, samples to systems.

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @Orvillain
            last edited by

            @Orvillain you should be able to access them by the #id selector individually, no?

            OrvillainO 1 Reply Last reply Reply Quote 0
            • OrvillainO
              Orvillain @Christoph Hart
              last edited by

              @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!

              Musician - Instrument Designer - Sonic Architect - Creative Product Owner
              Crafting sound at every level. From strings to signal paths, samples to systems.

              Christoph HartC 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @Orvillain
                last edited by

                Ah sorry, no you can't. The inspector shows all available selectors and the ID isn't one of them.

                becc5f70-f620-4558-a4a6-95b8fab42a1d-image.png

                (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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                39

                Online

                2.1k

                Users

                12.9k

                Topics

                112.2k

                Posts