Skip to content

Commit 29284d5

Browse files
committed
Relative
1 parent 70e64c3 commit 29284d5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

assets/scss/style.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,17 @@ body:after {
9797
{{ end }}
9898

9999
.grid {
100-
background-image: url('/images/grid.svg');
101-
min-height: 90vh;
102-
background-size: 500px 500px;
100+
position: relative;
101+
background-image: url('/images/grid.svg');
102+
min-height: 90vh;
103+
background-size: 500px 500px;
103104
}
104105
.grid::before {
105106
content: "";
106107
position: absolute;
107-
inset: 0;
108+
height: 100%;
109+
width: 100%;
110+
bottom: 0;
108111
background: linear-gradient(to bottom, transparent 75%, $green1 100%);
109112
pointer-events: none;
110113
}

0 commit comments

Comments
 (0)