Skip to content

Instantly share code, notes, and snippets.

@xrmer
xrmer / dabblet.css
Created December 1, 2015 08:28
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
#container { display:block; }@media only screen and (orientation:portrait){ #container { height: 100vw; -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -o-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); }}@media only screen and (orientation:landscape){ #container { -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -ms-transform: rotate(0deg); transform: rotate(0deg); }}
/**
* 8Bit
*/
/* importing font from Google */
@import url(http://fonts.googleapis.com/css?family=Press+Start+2P);
html {
background: #6377EF;
min-height: 100%;
font-family: 'Press Start 2P';
@xrmer
xrmer / dabblet.css
Created March 27, 2014 19:56
media queries
/**
* media queries
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
@xrmer
xrmer / dabblet.css
Created March 17, 2014 17:30
Button march 17th 2014 with option transition
/**
* Button march 17th 2014 with option transition
*/
html {
background: #3E4651;
min-height: 100%;
}
/* positioning */
.wrapper {
@xrmer
xrmer / dabblet.css
Created March 17, 2014 17:01
Button march 17th 2014
/**
* Button march 17th 2014
*/
html {
background: #3E4651;
min-height: 100%;
}
/* positioning */
.wrapper {
@xrmer
xrmer / dabblet.css
Created May 18, 2013 18:09
box-sizing (:
/**
* box-sizing (:
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
@xrmer
xrmer / dabblet.css
Created May 18, 2013 18:02
overflow (:
/**
* overflow (:
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
@xrmer
xrmer / dabblet.css
Created May 18, 2013 17:41
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
html {
background: #181818;
min-height: 100%;
}
#wrapper {
@xrmer
xrmer / dabblet.css
Last active December 13, 2015 20:19
there's no content on body section.
/**
* styling body with no Content.
*/
html {
background: rgb(18,18,18);
min-height: 100%;
}
body {
margin: 100px auto;
@xrmer
xrmer / dabblet.css
Created January 31, 2013 06:00
multiple value
/**
* multiple value
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
font-family: arial;
}