1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PX vs EM while using media queries

Discussion in 'CSS' started by HuggyStudios, Sep 16, 2014.

  1. #1
    So today I received a job where I needed to match a websites responsive header to one of the games the company I am working for is making. Simple enough really.

    When I started to look at the source code I could see that the developer was using EM rather then PX for their break points. After quite a lot of searching around the internet I couldn't see why using that unit of measurement in a media query was "better" than using px.

    Any one care to enlighten me?
     
    HuggyStudios, Sep 16, 2014 IP