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:
parent
fb21057f8f
commit
312b1d1d17
1 changed files with 11 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue