Add nice height transition on release hover
This commit is contained in:
parent
b6fe64c0c5
commit
333dd2defa
|
@ -12,12 +12,17 @@
|
||||||
|
|
||||||
.release .cover {
|
.release .cover {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
transition: height 1s ease-in-out;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
background-image: url('https://f4.bcbits.com/img/a3032423923_10.jpg');
|
background-image: url('https://f4.bcbits.com/img/a3032423923_10.jpg');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.release .cover:hover {
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
.release .infos {
|
.release .infos {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue