1
0
Fork 0

Add nice height transition on release hover

This commit is contained in:
Adrien Abraham 2018-04-25 20:22:21 +02:00
parent b6fe64c0c5
commit 333dd2defa

View file

@ -12,12 +12,17 @@
.release .cover {
flex-shrink: 0;
transition: height 1s ease-in-out;
height: 120px;
width: 300px;
background-image: url('https://f4.bcbits.com/img/a3032423923_10.jpg');
background-size: cover;
}
.release .cover:hover {
height: 300px;
}
.release .infos {
margin-left: 10px;
}