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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -