On Github juhyxx / webtools-presentation
$mainColor: #d3ffd5;
body {
color: $mainColor;
}
h1 {
color: $mainColor;
}
body {
color: #d3ffd5;
}
h1 {
color: #d3ffd5;
}
.components {
.slider {
color: red;
}
.button {
font-size: 12px;
}
}
.components .slider {
color: red;
}
.components .button {
font-size: 12px;
}
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
border-radius: $radius;
}
.box {
@include border-radius(10px);
}
.box {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
border-radius: 10px;
}
function getRandomItems(array, count) {
var randomArray = [], number;
while (randomArray.length < count) {
number = Math.round(Math.random() * array.length);
randomArray.push(array[number]);
}
return randomArray;
};
function getRandomItems(a, b) {
var c = [], d;
while (c.length < b) {
d = Math.round(Math.random() * a.length);
c.push(a[d]);
}
return c;
};
npm install module
npm install
<!-- build:js js/app.js -->
<script src="js/app.js"></script>
<script src="js/controllers/thing-controller.js"></script>
<script src="js/models/thing-model.js"></script>
<script src="js/views/thing-view.js"></script>
<!-- endbuild -->
options: {
browsers: ['last 2 versions', 'ie 8', 'ie 9']
}
}
{
'img1.png': 'tmp/img1.59bcc3ad.png',
'img2.png': 'tmp/img2.060b1aa6.png'
}