1
Consider the design elements as small repeating visual patterns
2
@color: #10709c;
.title{
color: @color;
}
rgb() => rgba()
.title{
color:#fff;
background: rgb(249, 118, 30);
}
Mybloc
hsl()
.title{
color:#fff;
background: hsl(24, 95%, 55%);
}
Mybloc
And preprocessor color functions :
lighten(background: rgb(81, 130, 222);, 10%);
<div class="row-fluid">
<div class="span4">4</div>
<div class="span8">8</div>
</div>
3
4
5
6
box-shadow
and text-shadow
.btn {
padding: 1em 2em;
font-size: 0.7em;
font-weight: bold;
color: #fff;
border-radius: 4px;
border: 1px solid rgb(250, 117, 27);
background-color: rgb(250, 117, 27);
box-shadow: inset 0 2px 0 rgba(255,255,255,.23);
border: 1px solid #f9751d;
background-image: linear-gradient(to top, rgba(0,0,0,0.1) 0%, rgba(255,255,255,0.1) 100%);
}
.btn.alternate {
}
7
<input type="submit">
and <button>
<select>
elements
8
8