javascript - Make image above the fold -


for this page, i'm having trouble how page displays on different sized monitors, on desktop. how can entire main image display above fold dynamically? thanks!

you can use 'vh' units. read more 'vh' units. see supported browsers


example (your page):

i added height: 100vh; <figure id="thumbnail" >...</figure> , height: 100%; width: 100%; <img> inside (removing other style had there) - did trick


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -