responsive design - Does sass breakpoint have a base font size setting? -


can make sass breakpoint, when using ems media queries, based on base font size, not browsers default font size?

no not. media queries written in em units based on browser's default font size, not on root font size.

we had toyed conversion in, between varying contexts on per-selector basis, incompatibility other compass extensions (including core compass media queries , compass core vertical rhythm mixin), , bad mental model puts people in (thinking in 1 scale while printing scale becomes hard debug), decided not include , not support in future.

what suggest if don't switching context in head while writing em based media queries write them in px , set $breakpoint-to-ems: true , automatically conversion @ end. because em based media queries based on browser's default font size we're able this.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -