Skip to content

Instantly share code, notes, and snippets.

View wrumsby's full-sized avatar
💭
what is this even

Walter Rumsby wrumsby

💭
what is this even
View GitHub Profile
@wrumsby
wrumsby / dabblet.css
Created February 4, 2015 20:33
CSS inheritance?
/**
* CSS inheritance?
*/
body {
font-family: open-sans;
}
.bordered {
border: 1px solid blue;
<!-- this is XML -->
<element>
<!-- we used to think it was cool in the late 90s -->
<child-element>
<!-- people used to think Sting was cool too -->
</child-element>
</element>
browsers: [
'ie >= 9',
'last 5 Chrome versions',
'last 5 Firefox versions',
'Firefox ESR',
'Safari >= 5.1',
'iOS >= 5.1'
]
@wrumsby
wrumsby / dabblet.css
Created August 5, 2014 00:13
Specificity and pseudo elements.
/**
* Specificity and pseudo elements.
*/
body {
font-family: "Open Sans", sans-serif;
}
.foo {
background-color: red;
@wrumsby
wrumsby / compass.js
Last active August 29, 2015 14:03
grunt-contrib-compass task configuration
module.exports = {
options: {
config: 'config.rb',
bundleExec: true
},
clean: {
options: {
clean: true
}
},
[08:49:33][Step 2/3] Fatal error: Failed to execute "git ls-remote --tags --heads git://github.com/FortAwesome/Font-Awesome.git", exit code of #128
@wrumsby
wrumsby / dabblet.css
Created May 11, 2014 20:59
pointer-events: none;
/**
* pointer-events: none;
* see http://caniuse.com/#feat=pointer-events
*/
body {
font-family: sans-serif;
}
.link_disabled {
pointer-events: none;
@wrumsby
wrumsby / dabblet.css
Created March 18, 2014 19:22
Unicode number operators with different fonts
/**
* Unicode number operators with different fonts
*/
body {
background-color: #fff;
color: #333;
font-family: sans-serif;
font-size: 14pt;
}
@wrumsby
wrumsby / dabblet.css
Created February 19, 2014 02:11
Use an attribute selector to hide when count is 0.
/**
* Use an attribute selector to hide when count is 0.
*/
body {
font-family: sans-serif;
}
.badge {
display: inline-block;
@wrumsby
wrumsby / dabblet.css
Created February 18, 2014 19:48
Use an attribute selector to hide when count is 0.
/**
* Use an attribute selector to hide when count is 0.
*/
body {
font-family: sans-serif;
}
.badge {
display: inline-block;