0 Replies Latest reply on Mar 8, 2015 7:00 PM by DanielUSA

    Generate CSS with media query?

    DanielUSA

      In my webengine, I'd like to generate CSS that looks like this:

       

      @media (max-width: X) {

      body { text-align: center; }

      }


      where X is a value to be filled in dynamically. Any hints on how to do this? Is it even possible?