Visit my blog or connect with me one Twitter
git init
or
export default function sayHi(){ | |
console.log('Hi'); | |
} |
Visit my blog or connect with me one Twitter
git init
or
%clearfix { | |
*zoom: 1; | |
&:before, &:after { | |
content: " "; | |
display: table; | |
} | |
&:after { | |
clear: both; | |
} | |
} |
@mixin table-center { | |
display: table; | |
> [class*="col-"] { | |
float: none; | |
display: table-cell; | |
vertical-align: middle; | |
} | |
} |
/* | |
--------------------------------------------------------------------------- | |
Abstracts | |
--------------------------------------------------------------------------- | |
Includes all partials that do not directly output CSS. | |
Examples include variables, mixins, and functions. | |
--------------------------------------------------------------------------- |
<div class="col-xs-12 col-sm-10 col-md-8 col-lg-4 | banner banner--tall | bg-dark color-white"> | |
Example | |
</div> |
TrailingWhitespace | |
Indentation | |
character tab | |
width 1 | |
for D in ./*; do | |
if [ -d "$D" ]; then | |
cd "$D" | |
git-stats-importer -e maceachern.jonny@gmail.com | |
cd .. | |
fi | |
done |
// Mixin for alternate theme styling | |
@mixin theme( $blogname ){ | |
body.theme-#{$blogname} & { | |
@content; | |
} | |
} | |
// Usage | |
.header { | |
color: #000; |
@import "mq"; | |
$mq-breakpoints: ( | |
xs: 320px, | |
sm: 740px, | |
md: 980px, | |
lg: 1300px, | |
); | |
// ------------------------------ |