Grow your CSS skills. Land your dream job.

When container width is defined in em unit in responsive friendly design ?

  • # April 1, 2013 at 2:57 am

    I am learning about Relative Unit of measurement for responsive design. But i am little bit confused seeing many designers are using em unit in defining their container width. I have also seen while defining media queries,the breaking point is defined in em. what is benefit of using em in layout. I will be thankful to you who can show me real life benefit of em in using in layout. I used em in layout of my design. i was expecting that em will behave like percentage while squeezing browser window but it behaved like pixel. so, why does designers prefer em instead of px ?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".