html - Why is min-height not working on background? -


i've added background div class. want image height have same height browser window, tried achieve min-height= 100%. don't work though.. suggestions?

html:

<div id="top" class="jumbotron"> </div> 

css:

.jumbotron {     background: no-repeat center center url('top.jpg');     -webkit-background-size: cover;     -moz-background-size: cover;     -o-background-size: cover;     background-size: cover;     min-height: 100%;     margin: 0px; } 

the body , html have fill 100% height:

html, body {     height: 100% } 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -