User:Tbarbe3/common.css

.container { display: inline-block; position: relative; width: 150px; height: 151px; } .image { display: block; width: 100%; height: auto; } .overlay { position: absolute; bottom: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0); overflow: visible; width: 100%; height: 0; transition: ease; }

.container:hover .overlay { height: 100%; }