Skip to content

Instantly share code, notes, and snippets.

View markitantov's full-sized avatar

Maxim Markitantov markitantov

View GitHub Profile
@markitantov
markitantov / button.sass
Created March 31, 2017 14:18 — forked from agragregra/button.sass
Button Sass Styles (Universal Starter)
.button
display: inline-block
border: none
color: #fff
text-decoration: none
background-color: $accent
padding: 15px 45px
font-size: 13px
text-transform: uppercase
font-weight: 600
@markitantov
markitantov / async.js
Created July 26, 2017 13:05
Asynchronous JS example
function doSomethingAsync(value) {
return new Promise(function(resolve) {
setTimeout(function() {
console.log("Resolving " + value);
resolve(value);
}, 3000);
});
}
function test() {