MoonDev
MoonDev

Reputation: 373

Viewport units buggy in iOS 7

I am using viewport height in order to make div get all viewport. But it doesn't work in iOS. I am having very long div instead.

Here's the code:

#kapak
{
    height:100vh;
    width:100%;
    background-color:#a4d186;
} 

Upvotes: 1

Views: 289

Answers (1)

DifferentPseudonym
DifferentPseudonym

Reputation: 1024

You can use Viewport Units Buggyfill It solves that problem with Js.

Upvotes: 2

Related Questions