Skip to content

Commit cb84f74

Browse files
author
ElaMoscicka
authored
added spacing and semicolons
1 parent 04e8b07 commit cb84f74

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

Diff for: 22 - Follow Along Link Highlighter/style.css

+16-14
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
html {
22
box-sizing: border-box;
33
}
4+
45
*, *:before, *:after {
56
box-sizing: inherit;
67
}
8+
79
body {
810
min-height: 100vh;
911
margin: 0; /* Important! */
@@ -16,31 +18,31 @@ body {
1618
}
1719

1820
.wrapper {
19-
margin:0 auto;
20-
max-width:500px;
21+
margin: 0 auto;
22+
max-width: 500px;
2123
font-size: 20px;
2224
line-height: 2;
2325
position: relative;
2426
}
2527

2628
a {
2729
text-decoration: none;
28-
color:black;
29-
background:rgba(0,0,0,0.05);
30-
border-radius: 20px
30+
color: black;
31+
background: rgba(0,0,0,0.05);
32+
border-radius: 20px;
3133
}
3234

3335
.highlight {
3436
transition: all 0.2s;
35-
border-bottom:2px solid white;
37+
border-bottom: 2px solid white;
3638
position: absolute;
37-
top:0;
38-
background:white;
39-
left:0;
39+
top: 0;
40+
background: white;
41+
left: 0;
4042
z-index: -1;
41-
border-radius:20px;
43+
border-radius: 20px;
4244
display: block;
43-
box-shadow: 0 0 10px rgba(0,0,0,0.2)
45+
box-shadow: 0 0 10px rgba(0,0,0,0.2);
4446
}
4547

4648
.menu {
@@ -53,7 +55,7 @@ a {
5355

5456
.menu a {
5557
display: inline-block;
56-
padding:5px;
57-
margin:0 20px;
58-
color:black;
58+
padding: 5px;
59+
margin: 0 20px;
60+
color: black;
5961
}

0 commit comments

Comments
 (0)