An Interest In:
Web News this Week
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
June 5, 2015 03:47 pm GMT
Original Link: http://bitsofco.de/2015/viewport-vs-percentage-units/
Viewport vs Percentage Units
Ire Aderinokun with a reminder that 100vw is sometimes wider than the viewable area (because scrollbars). The same is true for vh units, but it's rare websites have horizontal scrollbars.
But the best bit is about sizing images such that no matter the screen size there will be a position you can scroll to such that you can see the whole image.
Direct Link to Article — Permalink…
Viewport vs Percentage Units is a post from CSS-Tricks
Original Link: http://bitsofco.de/2015/viewport-vs-percentage-units/
Share this article:
Tweet
View Full Article