rodneyrehm / viewport-units-buggyfill

Making viewport units (vh|vw|vmin|vmax) work properly in Mobile Safari.
MIT License
1.59k stars 151 forks source link

Not working for added classes #26

Closed tolborg closed 10 years ago

tolborg commented 10 years ago

CSS properties on classes, which are not in the dom on page load, are not being converted.

rodneyrehm commented 10 years ago
// update internal declarations cache and recalculate pixel styles
// this is handy when you add styles after .init() was run
viewportUnitsBuggyfill.refresh();