Skip to content

Commit d4932bc

Browse files
committed
The examples violate the quoting rules above.
1 parent 4198f0d commit d4932bc

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -137,23 +137,23 @@ For reference here is an anatomy of a rule set:
137137
...
138138
}
139139
```
140-
140+
141141
**Bad**
142142
```scss
143143
.error, .success {
144144
...
145145
}
146146
```
147147
- Include a single space before the opening brace of a rule set.
148-
148+
149149
**Good**
150150
```scss
151151
.error,
152152
.success {
153153
...
154154
}
155155
```
156-
156+
157157
**Bad**
158158
```scss
159159
.error,
@@ -170,7 +170,7 @@ For reference here is an anatomy of a rule set:
170170
...
171171
}
172172
```
173-
173+
174174
**Bad**
175175
```scss
176176
.error,
@@ -186,7 +186,7 @@ For reference here is an anatomy of a rule set:
186186
padding: 0;
187187
}
188188
```
189-
189+
190190
**Bad**
191191
```scss
192192
p {margin: 0; padding: 0;}
@@ -200,7 +200,7 @@ For reference here is an anatomy of a rule set:
200200
margin: 0;
201201
}
202202
```
203-
203+
204204
**Bad**
205205
```scss
206206
.error {
@@ -222,7 +222,7 @@ For reference here is an anatomy of a rule set:
222222
margin: 0;
223223
}
224224
```
225-
225+
226226
**Bad**
227227
```scss
228228
.error {
@@ -240,12 +240,12 @@ For reference here is an anatomy of a rule set:
240240
```scss
241241
margin: 0;
242242
```
243-
**Bad**
243+
**Bad**
244244
```scss
245245
margin:0;
246246
```
247247
- Use lowercase and shorthand hex values.
248-
248+
249249
**Good**
250250
```scss
251251
#aaa
@@ -269,12 +269,12 @@ For reference here is an anatomy of a rule set:
269269
- `url()` e.g. `background: url("img/logo.png");`.
270270
- Attribute values in selectors e.g. `input[type="checkbox"]`.
271271
- Where allowed, avoid specifying units for zero-values.
272-
272+
273273
**Good**
274274
```scss
275275
margin: 0;
276276
```
277-
**Bad**
277+
**Bad**
278278
```scss
279279
margin: 0px;
280280
```
@@ -289,7 +289,7 @@ For reference here is an anatomy of a rule set:
289289
color: rgba(0,0,0,0.1);
290290
```
291291
- Include a space before `!important` keyword.
292-
292+
293293
**Good**
294294
```scss
295295
padding: 10px !important;
@@ -299,7 +299,7 @@ For reference here is an anatomy of a rule set:
299299
padding: 10px!important;
300300
```
301301
- Property values; `@extend`, `@include`, and `@import` directives; and variable declarations should always end with a semicolon.
302-
302+
303303
**Good**
304304
```scss
305305
color: #fff;
@@ -309,7 +309,7 @@ For reference here is an anatomy of a rule set:
309309
color: #fff
310310
```
311311
- Parentheses should not be padded with spaces.
312-
312+
313313
**Good**
314314
```scss
315315
@include box-shadow(0 2px 2px rgba(0, 0, 0, .2));
@@ -338,15 +338,15 @@ For reference here is an anatomy of a rule set:
338338
```scss
339339
margin: 0.500em;
340340
```
341-
- `url`s should not contain protocols or domain names.
342-
341+
- `url`s should not contain protocols or domain names.
342+
343343
**Good**
344344
```scss
345-
background: url('assets/image.png');
345+
background: url("assets/image.png");
346346
```
347347
**Bad**
348348
```scss
349-
background: url('https://example.com/assets/image.png');
349+
background: url("https://example.com/assets/image.png");
350350
```
351351

352352
### Declaration order

0 commit comments

Comments
 (0)