Skip to content

Instantly share code, notes, and snippets.

@dacreep
dacreep / dabblet.css
Created September 5, 2013 06:38
Untitled
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
html{
height:100%;
}
body{
text-align:center;
background:url('http://one-div.com/codepen/menu/bg.jpg')no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
@dacreep
dacreep / dabblet.css
Created September 5, 2013 06:32
css3 transition
/**
* css3 transition
*/
body {-webkit-transition: background-color ease 2s;}
@media (max-width: 500px) {
body {background:yellow;}
}
@dacreep
dacreep / dabblet.css
Created September 5, 2013 06:20
CSS3 transitions
/**
* CSS3 transitions
*/
.box {
width: 200px;
height: 200px;
background: #333;
}
.box:hover {
background: #d1d1d1;
@dacreep
dacreep / dabblet.css
Created September 5, 2013 06:16
Untitled
body {
font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
padding: 20px 50px 150px;
font-size: 13px;
text-align: center;
background: #E3CAA1;
}
ul {
text-align: left;
@dacreep
dacreep / dabblet.css
Created September 5, 2013 06:15
Untitled
body {
font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
padding: 20px 50px 150px;
font-size: 13px;
text-align: center;
background: #E3CAA1;
}
ul {
text-align: left;
@dacreep
dacreep / dabblet.css
Created September 5, 2013 06:15
Untitled
body{
background: #2c4762;
}
#loader{
width: 57px;
height: 57px;
margin: 100px auto;
overflow: hidden;
@dacreep
dacreep / dabblet.css
Created September 5, 2013 06:09
Common
/* Common */
body {
min-width: 800px;
min-height: 400px;
}
.minimalsworld {
width: 354px;
height: 354px;
background-color: #fff;
position: absolute;
@dacreep
dacreep / dabblet.css
Created September 5, 2013 05:54
CSS3 Pong *
/**
* CSS3 Pong *
*/
@import url(http://fonts.googleapis.com/css?family=VT323);
body{
background: #000;
color:#070;
font-family:'VT323', Courier, "Courier New", monospace;
text-align:center
@dacreep
dacreep / dabblet.css
Created September 5, 2013 05:50
-- CSS3 - define rounded corners --
/* -- CSS3 - define rounded corners -- */
#box {
width:300px;
height:300px;
background:#cccccc;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
@dacreep
dacreep / dabblet.css
Created September 5, 2013 05:41
code not necessary for the effect, just to make it pretty
/* code not necessary for the effect, just to make it pretty */
html {
background-color: #EEE;
overflow-y: scroll;
}
body {
color: #333;
font-family: Verdana;
font-size: 14px;
margin: 0 auto;