This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.alert { | |
border: 1px solid #ccc; | |
padding: 5px 10px; | |
font-size: 10px; | |
display: block; | |
} | |
.alert__error { color: red; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.alert { | |
border: 1px solid #ccc; | |
padding: 5px 10px; | |
font-size: 10px; | |
display: block; | |
background-color: #eee; /* temporarily put here */ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.alert { | |
border: 1px solid #ccc; | |
padding: 5px 10px; | |
font-size: 10px; | |
x-display: block; /* disabled */ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.alert { | |
background-color: #eee; /* temporarily put here */ | |
border: 1px solid #ccc; | |
display: block; | |
font-size: 10px; | |
padding: 5px 10px; | |
} | |
.box { | |
top: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Incorrect: | |
div#a, dv#b {} | |
// Correct: | |
.ab {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Incorrect: | |
#sidebar { | |
background-color: #fff; | |
background-image: (bg.png); | |
background-position: 0 0; | |
} | |
// Correct: | |
#sidebar { | |
background: #fff url(bg.png) repeat-x 0 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.clearfix { | |
clear: both; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.kf-container {} | |
.kf-alerts {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Incorrect | |
<ul id="list-1"></ul> | |
<ul id="list-2"></ul> | |
<img class="main-logo" /> | |
#list-1, #list-2 {} | |
.main-logo {} | |
// Correct: | |
<ul class="list" id="list-1"></ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Incorrect: | |
<div class="article"> | |
<div class="title">Title</div> | |
<div class="content">Article contents goes here!</div> | |
</div> | |
.article {} | |
.article .title {} | |
.article .content {} |