Use Pixels, not em in media queries
In CSS, one can use different units to determine sizes. The most relevant are: Being relative to the font size and nest-able, em values are a great fit for setting sizes of page elements and we thus use almost exclusively use em and rem values for borders, font size, etc. To make a website responsive, …