Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS changing media queries in twitter bootstrap to 'em'

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #158928
    raj080288
    Participant

    I want to change the ‘pixel’ based media in twitter bootstrap 3 to ’em’ based media queries.

    so for example:

    @media only screen and (max-width: 320px){} would equal to @media only screen and (max-width: 20em){} @media only screen and (max-width: 480px){} would equal to @media only screen and (max-width: 30em){} etc.

    Is there a easier way to do this in the bootstrap.css file rather than changing all the media queries manually which would take a lot of time to do.

    Thanks in advance

    Raj

    #158945
    Paulie_D
    Member

    Nope don’t think so.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.