Skip to content

Commit 2dad6dc

Browse files
committed
Page Scroll Indicator
1 parent 5fe456a commit 2dad6dc

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

13. Page Scroll Indicator/style.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,14 @@
66
body {
77
height: 100vh;
88
font-family: sans-serif;
9-
background: #000;
9+
background: #383838;
1010
color: #fff;
1111
}
1212

1313
.content {
1414
padding: 4rem;
1515
}
1616

17-
section {
18-
border: 2px solid white;
19-
margin: 20px 0;
20-
padding: 20px;
21-
}
22-
23-
section h1 {
24-
margin: 10px 0;
25-
}
26-
2717
.scroll-indicator {
2818
height: 5px;
2919
width: calc(100% - 6em);
@@ -40,3 +30,13 @@ section h1 {
4030
background: linear-gradient(30deg, #21d4fd, #b721ff);
4131
transition: width 0.1s;
4232
}
33+
34+
section {
35+
border: 2px solid white;
36+
margin: 20px 0;
37+
padding: 20px;
38+
}
39+
40+
section h1 {
41+
margin: 10px 0;
42+
}

0 commit comments

Comments
 (0)