Skip to content

Instantly share code, notes, and snippets.

View darioalbanesi's full-sized avatar
🤔

Dario Albanesi darioalbanesi

🤔
  • Digitec Galaxus
  • Zurich
View GitHub Profile
{
// If plugin has trouble finding Node.js, replace this string with path
// to your `node` bin
"node-path" : ":/usr/local/bin",
// Full list of supported options and acceptable values can be found here:
// https://github.com/csscomb/csscomb.js/blob/master/doc/options.md
"config": {
"always-semicolon": true,
function countCSSRules() {
var results = '',
log = '';
if (!document.styleSheets) {
return;
}
for (var i = 0; i < document.styleSheets.length; i++) {
countSheet(document.styleSheets[i]);
}
function countSheet(sheet) {
@darioalbanesi
darioalbanesi / SassMeister-input.scss
Created September 4, 2014 07:05
Generated by SassMeister.com.
// ----
// Sass (v3.4.1)
// Compass (v1.0.1)
// ----
$var: red !default;
$var: green !default;
body {
background: $var;
}
@darioalbanesi
darioalbanesi / css
Created August 15, 2014 07:24
_Pupo - Password Strength Checker
.password-strength {
label { float:left; margin-right: 15px; }
#passstrength {
height: 10px;
width:310px;
display: block;
float:left;
margin-top:6px;
background-color: grey;
}
@darioalbanesi
darioalbanesi / html
Created March 25, 2014 12:20
_Pupo - PlayButton CSS
<div class="play_button">
<div class="play_button_arrow"></div>
</div>