Skip to content

Instantly share code, notes, and snippets.

*, *:after, *:before {
margin: 0;
padding: 0;
position: relative;
box-sizing: border-box;
transition: transform .8s;
transform-style : preserve-3d;
}
@jklm313
jklm313 / dabblet.css
Created March 31, 2013 22:35
Untitled
*, *::before, *::after {
margin: 0;
padding: 0;
position: relative;
box-sizing: border-box;
}
html, body {
height: 100%;
}
@jklm313
jklm313 / dabblet.css
Created March 31, 2013 20:45
Untitled
*, *:after, *:before {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
}
html, body {
height: 100%;
}
@jklm313
jklm313 / dabblet.css
Created March 16, 2013 18:26
Untitled
*,*:after,*before {
margin: 0;
padding: 0;
position: relative;
box-sizing: border-box;
}
html, body {
@jklm313
jklm313 / dabblet.css
Created February 8, 2013 15:54
Untitled
*, *:after, *:before {
margin: 0;
padding: 0;
position: relative;
box-sizing: border-box;
}
body {
max-width: 500px;
margin: 0 auto;
@jklm313
jklm313 / dabblet.css
Created December 26, 2012 17:14
Untitled
input:checked ~ .wrap {
animation: 1s turn;
animation-fill-mode: forwards;
}
@keyframes turn {
to {
transform: rotate(.25turn);
}
}
@jklm313
jklm313 / dabblet.css
Created December 11, 2012 13:41
Untitled
*, *:before, *:after {
margin: 0;
padding: 0;
border-box: border-box;
position: relative;
}
html {
text-align: center;
font-family: sans-serif;
@jklm313
jklm313 / dabblet.css
Created December 8, 2012 22:06
Untitled
*, *:before, *:after {
margin: 0;
padding: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
position: relative;
@jklm313
jklm313 / dabblet.css
Created November 25, 2012 21:20
Untitled
*, *:before, *:after {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
}
html, body {
height: 100%;
}
@jklm313
jklm313 / dabblet.css
Created October 10, 2012 06:52
Untitled
*, *:after, *:before {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative; /* Please note, I'm adding position relative universally for brevity. Since now body has this property, the .fixed bar needs to be given a negative top positioning equal to its height, which is not neccessary if body is 'static'. */
}
html, body {
height: 100%;/* this is essential for the content to be contained inside the viewport and to enable scroll. */
}