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
Post a Comment