• falseWhite@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 day ago

    Haven’t found a use case for it yet.

    If you’ve used it, please give me some examples of how you used it to solve a styling problem that otherwise would have been difficult or messy with other css rules.

    • Vincent@feddit.nl
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      It’s been a while, so I’m not sure about the details, but I had some elements on our website that I wanted to show when our extension was installed, and hide if not. I think I used layers, and then had the extension move the layer priority order. Was a clean way to fence off the extension-specific code.