Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAlexandru Dan Dodu
2,910 PointsViewport units (vw)
As SERGIO RODRIGUEZ said in question "Current support of viewport units vs FitText", viewport units seem to be supported by all browsers. However legacy browsers, such as IE8, Safari5, Opera Mini and Android 4.3 (which we could not say it is legacy) don't support it.
Is there a possibility in CSS to search for support of the vw unit? I would like to use vw and then, verify: if it is not supported, then use px, but only for those browsers that don't support it. For example, Android 4.3 is quite used.
1 Answer
Rich Bagley
25,869 PointsHi Alexandru,
This article from CSS Tricks under the heading Using it now might have the answers you need.
Hope that helps.
-Rich
Alexandru Dan Dodu
2,910 PointsAlexandru Dan Dodu
2,910 PointsThank you very much!