Footer: Use a SVG over image for Instagram
Allows to fill a different color on hover
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
text-decoration: none;
|
||||
transition: color 85ms $ease-inout;
|
||||
|
||||
img {
|
||||
img, svg {
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
@@ -87,8 +87,14 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
img {
|
||||
svg {
|
||||
display: block;
|
||||
transition: fill 275ms $ease-cubic;
|
||||
}
|
||||
|
||||
// Hover
|
||||
a:hover svg {
|
||||
fill: $color-secondary;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user