1
0
Fork 0
IdreXyz/static/css/artists.css

56 lines
866 B
CSS

#content h1 {
text-align: center;
}
.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 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.6);
border-radius: 5px;
color: white;
opacity: 0;
transition: all 0.7s ease;
-webkit-transition: all 0.7s ease;
}
.artists .artist-genre:hover {
opacity: 1;
}