How to make my background full height of window

website design height vw

Are you wanting to make your background image or div the height of whatever window it’s being viewed in?

Of course, with anything CSS there are always multiple ways to create and or do something.

In this quick post I will talk about the latest and the greatest height:1vw;

1vh = 1% viewport height.

Now with that idea, we can fill the viewport with this.

100vh = 100% of viewport height.

Check out the results here JSFiddle example



I am a skilled and experienced consultant specializing in WordPress website development and marketing committed to making your business/company more successful by offering you a personal service with honesty and integrity.

Posted in css

Leave a Comment

Your email address will not be published. Required fields are marked *