For some reason, I can't set a maximum height on my page.
Here is the code:
html
{
min-width: 100%;
min-height: 100%;
}
body
{
margin:0;
padding:0;
font-family: Arial, Helvetica, sans-serif;
background-color: darkblue;
height: 1200px;
}
.tile {
display: inline-block;
width: 300px;
height: 300px;
/*border: 1px solid black;*/
transition: 2s all linear;
margin-top: -4px;
margin-left: -4px;
}
Here is the JSFiddle:
http://jsfiddle.net/cty276x5/1/
Also it should repeat the "squares" in all directions(width and height) but get cut off when they reach the "background height/width limit".
So why can't I limit the height the way I did?