1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

fixed stripes at hero

This commit is contained in:
Fedor Katurov 2019-10-24 17:37:23 +07:00
parent fb21057f8f
commit 312b1d1d17

View file

@ -14,6 +14,17 @@
background: $content_bg;
border-radius: $cell_radius;
overflow: hidden;
&::after {
content: ' ';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('~/sprites/stripes.svg') rgba(0, 0, 0, 0.3);
z-index: 4;
}
}
.hero {
@ -32,16 +43,6 @@
cursor: pointer;
transform: translate(0, 0);
&::after {
content: ' ';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('~/sprites/stripes.svg') rgba(0, 0, 0, 0.3);
}
img {
width: 0;
height: 0;