Outline se muestra y crece en hover de un coverart

This commit is contained in:
Daniel Cortes
2020-06-06 17:17:27 -04:00
parent 531134c2d1
commit 25bf57c7cf

View File

@@ -391,13 +391,25 @@ ul.tabs {
.cover-container { .cover-container {
width: 250px; width: 250px;
height: 250px; height: 250px;
cursor: pointer; cursor: pointer;
.coverart {
border: none;
outline: 1px var(--gray-2) solid;
}
&:hover{ &:hover{
.cover-caption figcaption:after { .cover-caption figcaption:after {
width: 100%; width: 100%;
} }
.coverart {
transition: all 200ms ease-in-out;
outline: 6px var(--accent) solid;
outline-offset: -4px;
}
} }
} }