Skip to content

Commit 6a90e00

Browse files
author
ElaMoscicka
authored
added spacing and semicolon
1 parent 746d279 commit 6a90e00

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

26 - Stripe Follow Along Nav/index-START.html

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,13 @@ <h2>Cool</h2>
6969
<style>
7070
html {
7171
box-sizing: border-box;
72-
font-family: "Arial Rounded MT Bold","Helvetica Rounded",Arial,sans-serif
72+
font-family: "Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif;
7373
}
74+
7475
*, *:before, *:after {
7576
box-sizing: inherit;
7677
}
78+
7779
body {
7880
margin: 0;
7981
min-height: 100vh;
@@ -99,10 +101,10 @@ <h2>Cool</h2>
99101
text-decoration: none;
100102
font-size: 20px;
101103
background: rgba(0,0,0,0.2);
102-
padding:10px 20px;
104+
padding: 10px 20px;
103105
display: inline-block;
104-
margin:20px;
105-
border-radius:5px;
106+
margin: 20px;
107+
border-radius: 5px;
106108
}
107109

108110
nav ul {
@@ -115,17 +117,17 @@ <h2>Cool</h2>
115117

116118
.cool > li {
117119
position: relative;
118-
display:flex;
120+
display: flex;
119121
justify-content: center;
120122
}
121123

122124
.dropdown {
123125
opacity: 0;
124126
position: absolute;
125127
overflow: hidden;
126-
padding:20px;
127-
top:-20px;
128-
border-radius:2px;
128+
padding: 20px;
129+
top: -20px;
130+
border-radius: 2px;
129131
transition: all 0.5s;
130132
transform: translateY(100px);
131133
will-change: opacity;
@@ -139,17 +141,15 @@ <h2>Cool</h2>
139141
.trigger-enter-active .dropdown {
140142
opacity: 1;
141143
}
142-
143-
144-
144+
145145
.dropdownBackground {
146-
width:100px;
147-
height:100px;
146+
width: 100px;
147+
height: 100px;
148148
position: absolute;
149149
background: #fff;
150150
border-radius: 4px;
151151
box-shadow: 0 50px 100px rgba(50,50,93,.1), 0 15px 35px rgba(50,50,93,.15), 0 5px 15px rgba(0,0,0,.1);
152-
transition:all 0.3s, opacity 0.1s, transform 0.2s;
152+
transition: all 0.3s, opacity 0.1s, transform 0.2s;
153153
transform-origin: 50% 0;
154154
display: flex;
155155
justify-content: center;
@@ -162,28 +162,28 @@ <h2>Cool</h2>
162162

163163
.arrow {
164164
position: absolute;
165-
width:20px;
166-
height:20px;
165+
width: 20px;
166+
height: 20px;
167167
display: block;
168-
background:white;
168+
background: white;
169169
transform: translateY(-50%) rotate(45deg);
170170
}
171171

172172
.bio {
173-
min-width:500px;
174-
display:flex;
173+
min-width: 500px;
174+
display: flex;
175175
justify-content: center;
176176
align-items: center;
177177
line-height: 1.7;
178178
}
179179

180180
.bio img {
181-
float:left;
182-
margin-right:20px;
181+
float: left;
182+
margin-right: 20px;
183183
}
184184

185185
.courses {
186-
min-width:300px;
186+
min-width: 300px;
187187
}
188188

189189
.courses li {
@@ -198,14 +198,13 @@ <h2>Cool</h2>
198198
}
199199

200200
a.button {
201-
background:black;
201+
background: black;
202202
display: block;
203-
padding:10px;
204-
color:white;
203+
padding: 10px;
204+
color: white;
205205
margin-bottom: 10px;
206206
}
207207

208-
209208
/* Matches Twitter, TWITTER, twitter, tWitter, TWiTTeR... */
210209
.button[href*=twitter] { background: #019FE9; }
211210
.button[href*=facebook] { background: #3B5998; }

0 commit comments

Comments
 (0)