56 lines
875 B
CSS
56 lines
875 B
CSS
#artists {
|
|
width: 700px;
|
|
margin: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
#artists .artist {
|
|
width: 120px;
|
|
position: relative;
|
|
margin: 5px;
|
|
display: inline-block;
|
|
}
|
|
|
|
#artists .artist a {
|
|
color: #929292;
|
|
text-decoration: none;
|
|
transition: .5s;
|
|
-moz-transition: .5s;
|
|
-ms-transition: .5s;
|
|
-o-transition: .5s;
|
|
-webkit-transition: .5s;
|
|
}
|
|
|
|
#artists .artist a:hover {
|
|
color: #c9c9c9;
|
|
}
|
|
|
|
#artists .artist img {
|
|
height: 120px;
|
|
width: 120px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#artists .artist-genre {
|
|
height: 120px;
|
|
width: 120px;
|
|
position:absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
border-radius: 5px;
|
|
color: white;
|
|
opacity: 0;
|
|
transition: all 0.7s ease;
|
|
-webkit-transition: all 0.7s ease;
|
|
}
|
|
|
|
#artists .artist-genre:hover {
|
|
opacity: 1;
|
|
}
|