I am currently designing a metro tiles menu for my website, without using JavaScript and only relying on HTML and CSS.
The issue I am facing involves the sliding tiles and the direction in which they slide. Additionally, there seems to be a problem where the next tile is hiding underneath the previous one.
#block4 - Slides DOWN
#block5 - Slides UP.
#block4:hover {
position: absolute;
z-index: 2;
background: rgba(150,150,150,0.95);
width: 100%;
height: 50px;
overflow:hidden;
transition: height 450ms;
-moz-transition: height 450ms;
-webkit-transition: height 450ms;
height: 300px;
z-index: 2;
}
#block5:hover {
position: absolute;
z-index: 2;
background: rgba(150,150,150,0.95);
width: 100%;
height: 50px;
overflow:hidden;
transition: height 450ms;
-moz-transition: height 450ms;
-webkit-transition: height 450ms;
height: 300px;
z-index: 2;
Check out the example on JSFiddle - https://jsfiddle.net/werk13/7tza9yqq/