Skip to content

Instantly share code, notes, and snippets.

View DeviaVir's full-sized avatar
🏴‍☠️

Chase DeviaVir

🏴‍☠️
View GitHub Profile
@DeviaVir
DeviaVir / php link css
Created November 21, 2011 14:03
Keep CSS files up to date
@DeviaVir
DeviaVir / dabblet.css
Created December 16, 2011 08:51 — forked from LeaVerou/dabblet.css
Untitled
background-color:silver;
background-image:
radial-gradient(100% 150%, circle, silver 24%, white 25%, white 28%, silver 29%, silver 36%, white 36%, white 40%, transparent 40%, transparent),
radial-gradient(0 150%, circle, silver 24%, white 25%, white 28%, silver 29%, silver 36%, white 36%, white 40%, transparent 40%, transparent),
radial-gradient(50% 100%, circle, white 10%, silver 11%, silver 23%, white 24%, white 30%, silver 31%, silver 43%, white 44%, white 50%, silver 51%, silver 63%, white 64%, white 71%, transparent 71%, transparent),
radial-gradient(100% 50%, circle, white 5%, silver 6%, silver 15%, white 16%, white 20%, silver 21%, silver 30%, white 31%, white 35%, silver 36%, silver 45%, white 46%, white 49%, transparent 50%, transparent),
radial-gradient(0 50%, circle, white 5%, silver 6%, silver 15%, white 16%, white 20%, silver 21%, silver 30%, white 31%, white 35%, silver 36%, silver 45%, white 46%, white 49%, transparent 50%, transparent);
background-size:100px 50px;
@DeviaVir
DeviaVir / dabblet.css
Created December 16, 2011 08:54
The wrapper
/* The wrapper */
.b-block {
position: relative;
display: inline-block;
overflow: hidden;
width: 10em;
height: 10em;
vertical-align: middle;
@DeviaVir
DeviaVir / dabblet.css
Created December 16, 2011 09:16
Playing around with food
/* Playing around with food */
body {
transform: translateZ(0);
font-smoothing: subpixel-antialiased;
background: darkgray;
}
.block {
width: 500px;
height: 500px;
@DeviaVir
DeviaVir / dabblet.css
Created January 24, 2012 12:13 — forked from daneden/dabblet.css
Light loader
/**
* Light loader
*/
* {
margin: 0;
padding: 0;
}
html {
@DeviaVir
DeviaVir / dabblet.css
Created January 24, 2012 12:13
Light loader
/**
* Light loader
*/
* {
margin: 0;
padding: 0;
}
html {
@DeviaVir
DeviaVir / dabblet.css
Created February 1, 2012 13:03 — forked from chriscoyier/dabblet.css
Checkbox Hack
/* Checkbox Hack */
input[type=checkbox] {
position: absolute;
top: -9999px;
left: -9999px;
}
label {
-webkit-appearance: push-button;
-moz-appearance: button;
@DeviaVir
DeviaVir / dabblet.css
Created February 1, 2012 18:18
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background-color: #ddd;
}
.parent {
width: auto;
@DeviaVir
DeviaVir / dabblet.css
Created February 9, 2012 13:21 — forked from LeaVerou/dabblet.css
Move in a circle without wrapper elements
/**
* Move in a circle without wrapper elements
* Idea by Aryeh Gregor, simplified by Lea Verou
*/
@keyframes rot {
from {
transform: rotate(0deg)
translate(-150px)
rotate(0deg);
@DeviaVir
DeviaVir / hack.sh
Created April 1, 2012 10:36 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#