Skip to content

Instantly share code, notes, and snippets.

View oksushi's full-sized avatar

Cal Wilson oksushi

View GitHub Profile
@oksushi
oksushi / dabblet.css
Created January 31, 2014 23:10
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: url(http://www.placecage.com/1000/1000) center no-repeat fixed;
}
.cont {
position: fixed;
width: 200px;
height: 100px;
@oksushi
oksushi / dabblet.css
Created February 1, 2014 02:30
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {background: black;}
ul {list-style: none; overflow: hidden; display: inline-block; margin-top: 10px;} ul {display: block;}
ul li {float: left; position: relative; border: 5px solid #fff; margin-right: 10px; overflow: hidden;}
ul li img {display: block;}
ul li div.caption {position: absolute; top: -100%; background: #fff; padding: 10px; color: #666;}
ul li:hover {cursor: pointer;}
ul li:hover div.caption {top: 0;}
@oksushi
oksushi / dabblet.css
Created February 3, 2014 21:56
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
div {
width: 100px;
height: 100px;
background: hotpink;
margin: 200px;
box-shadow: 0 0 14px 2px rgba(0,0,0,.5);
@oksushi
oksushi / dabblet.css
Created February 7, 2014 06:23
Untitled
span, div {
border: 4px solid hotpink;
text-align: right;
}
@oksushi
oksushi / dabblet.css
Created February 18, 2014 03:24
Using table display to vertically centre a list of blocks
/**
* Using table display to vertically centre a list of blocks
*/
ul {
list-style: none;
margin: 0;
padding: 0;
text-align: justify;
}
@oksushi
oksushi / dabblet.css
Created February 25, 2014 02:11
Making a clickable Cage
/**
* Making a clickable Cage
*/
div {
position: relative;
float: left;
}
img {
display: block;
{"events": [
{
"title": "Courses",
"start": "2014-03-12"
},{
"title": "Year of the Writer",
"start": "2014-03-12"
},{
"title": "Write On!",
"start": "2014-03-12"
'use strict';
/*******************************************************************************************************
*
* FOLDER STRUCTURE
*
* dev // files in root just move to ./prod/ and *.html files will look for grunt-includes directives
* ├── HTMLincludes // HTML snippets included by grunt-includes
* │ └── windows.html
* ├── fonts // files will simply be moved to ./prod/fonts/
@oksushi
oksushi / SassMeister-input-HTML.html
Created December 3, 2014 07:27
Generated by SassMeister.com.
<div class='container'>
<div class='inner'></div>
</div>
<div class='container big'>
<div class='inner'></div>
</div>
@oksushi
oksushi / SassMeister-input-HTML.html
Created December 3, 2014 07:33
Generated by SassMeister.com.
<div class='container'>
<div class='inner'></div>
</div>
<div class='container big'>
<div class='inner'></div>
</div>