No edit summary |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
#home-nav { | |||
margin-top: 2.4rem; | |||
} | } | ||
#home-nav .home-card__background:after { | |||
position: absolute; | |||
pointer-events: none; | |||
top: 0; | top: 0; | ||
right: 0; | right: 0; | ||
bottom: 0; | bottom: 0; | ||
left: 0; | left: 0; | ||
background: # | display: block; | ||
background: linear-gradient(to right,#000,transparent); | |||
content: ""; | |||
} | } | ||
#home-nav .home-card__foreground { | |||
pointer-events: none; | |||
height: 100%; | |||
width: 100%; | width: 100%; | ||
display: flex; | display: flex; | ||
Line 43: | Line 23: | ||
color: #fff; | color: #fff; | ||
font-weight: 500; | font-weight: 500; | ||
} | } |
Revision as of 03:36, 21 February 2022
#home-nav {
margin-top: 2.4rem;
}
#home-nav .home-card__background:after {
position: absolute;
pointer-events: none;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
background: linear-gradient(to right,#000,transparent);
content: "";
}
#home-nav .home-card__foreground {
pointer-events: none;
height: 100%;
width: 100%;
display: flex;
align-items: center;
padding: 0 15px;
color: #fff;
font-weight: 500;
}