Skip to content

Instantly share code, notes, and snippets.

View maxhoffmann's full-sized avatar
👷‍♂️
currently building konsens.it

Max Hoffmann maxhoffmann

👷‍♂️
currently building konsens.it
View GitHub Profile
@maxhoffmann
maxhoffmann / dabblet.css
Created March 20, 2012 10:34
CSS3 Transitions
/* CSS3 Transitions */
div {
width: 200px;
height: 200px;
padding-top: 85px;
margin: 20px;
background: RoyalBlue;
box-sizing: border-box;
@maxhoffmann
maxhoffmann / dabblet.css
Created April 1, 2012 10:57
CSS3 Box Sizing
/* CSS3 Box Sizing */
.box {
height: 200px;
width: 200px;
background: blue;
color: white;
padding: 20px;
box-sizing: border-box;
}
@maxhoffmann
maxhoffmann / dabblet.css
Created May 3, 2012 15:59
CSS3 Border-Radius with Border - Circle Avatars
/**
* CSS3 Border-Radius with Border - Circle Avatars
*/
/* General Styles */
body { background: url(http://subtlepatterns.com/patterns/white_texture.png);
font: 400 14px sans-serif;
color: #666777; text-shadow: 0 1px white;
text-align: center;
@maxhoffmann
maxhoffmann / dabblet.css
Created May 8, 2012 12:26
Flipboard Page 3D
/**
* Flipboard Page 3D
*/
body {
background: #eee;
}
.container {
position: relative;
@maxhoffmann
maxhoffmann / .jshintrc
Last active October 9, 2015 13:17
My Sublime Text Preferences
{
// Enforcing
"bitwise": true,
"camelcase": false,
"eqeqeq": true,
"forin": false,
"immed": false,
"latedef": false,
"newcap": false,
"noarg": true,
@maxhoffmann
maxhoffmann / dabblet.css
Created September 17, 2012 11:04
Perfect Page Layout
/**
* Perfect Page Layout
*/
* {
box-sizing: border-box;
}
html {
margin: 0;
@maxhoffmann
maxhoffmann / dabblet.css
Created September 19, 2012 08:11
Gradient Box Shadow
/* Gradient Box Shadow */
body {
font: 16px/24px Helvetica Neue, Helvetica, sans-serif;
color: hsl(210, 8%, 55%);
background-color: hsl(210,10%,95%);
text-shadow: 0 1px 0 white;
-webkit-font-smoothing: antialiased;
}
@maxhoffmann
maxhoffmann / dabblet.css
Created December 19, 2012 14:54
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.segoe {
font-family: "Segoe UI", sans-serif;
}
h1 {
font-family: sans-serif;
@maxhoffmann
maxhoffmann / dabblet.css
Created February 4, 2013 14:22
Micro Clearfix IE8+
/**
* Micro Clearfix IE8+
*/
.bg {
background: red;
}
.cf:after{
content: "";
display: table;
@maxhoffmann
maxhoffmann / dabblet.css
Created February 8, 2013 13:29
_nav without clearfix
/**
* _nav without clearfix
*/
.nav{
list-style:none;
margin-left:0;
}
.nav > li,