css - Polymer Elements - Responsive <body> font size -


i wonder best way make desktop/mobile page responsive polymer elements' iron-media-query? of course, css define responsive behavior with

@media screen , (max-device-width : 768px) body {font-size: 14px} ... @media screen , (min-device-width : 768px) ... body {font-size: 18px} ... 

however, polymer elements provides iron-media-query.

now, what's better? , important: how can apply responsive font-size whole body or specific div's padding iron-media-query overall font size adjusts (all css elements defined x.em)?

the iron-media-query allow binding result of query element paper-drawer-panel collapses when screen size below threshold. global settings use normal css. way fonts , other resources can downloaded while polymer being initialized.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -