2 Replies Latest reply on Jun 1, 2018 12:08 PM by George Trudeau

    CSS media selector and calc() function not working.

    Eric Pederson Newbie

      I'm having some troubles using media selectors for my ui widgets.

       

      For example this doesn't seem to work:

      @media all and (max-width: 720px){

         p{

         color:purple;
         background-color: #00b0ff;
         }

      }

       

      Also I tried using setting a width using calc(100vw - 60px) which didn't work either.

       

      Any help will be much appreciated.