Skip to content

Commit 04df1b5

Browse files
committed
#12 [add] CSS declaration order
1 parent 157c247 commit 04df1b5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

translations/pt_BR/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,26 @@ Os comentários sempre estarão antes do código a que se refere.
458458

459459
#### CSS Declaration Order
460460

461+
A declaração das propriedades, devem ser em ordem alfabética.
462+
463+
```css
464+
/* Good */
465+
.item {
466+
background: #fff;
467+
color: #ffcc00;
468+
margin: 0;
469+
position: absolute;
470+
}
471+
472+
/* Bad */
473+
.item {
474+
margin: 0;
475+
position: absolute;
476+
background: #fff;
477+
color: #ffcc00;
478+
}
479+
```
480+
461481
#### CSS Name
462482

463483
#### CSS Performance

0 commit comments

Comments
 (0)