Skip to content

Instantly share code, notes, and snippets.

View vennsoh's full-sized avatar

Ee Venn Soh vennsoh

View GitHub Profile
@vennsoh
vennsoh / dabblet.css
Created August 28, 2012 03:03
Sphere
/* Sphere */
.container {
width: 220px;
height: 220px;
text-align: center;
border-radius: 50%;
position: relative;
cursor: default;
box-shadow: inset 0 0 0 16px rgba(0,0,0,.5);
transition: all 0.4s ease-in-out;
@vennsoh
vennsoh / dabblet.css
Created August 28, 2012 07:13
Sphere
/* Sphere */
.container {
position: relative;
text-align: center;
width: 220px;
height: 220px;
text-align: center;
border-radius: 50%;
cursor: default;
box-shadow: inset 0 0 0 16px rgba(0,0,0,.5);
@vennsoh
vennsoh / dabblet.css
Created August 28, 2012 11:59
Untitled
body{
height:100%;
}
.container{
position: relative;
width: 300px;
height: 300px;
@vennsoh
vennsoh / dabblet.css
Created August 28, 2012 13:00
Untitled
body, html {
height: 100%;
}
.container{
position: relative;
width: 300px;
height: 300px;
background-color: red;
@vennsoh
vennsoh / dabblet.css
Created August 28, 2012 13:05
Untitled
body{
height:100%;
}
.container{
position: relative;
width: 300px;
height: 300px;
@vennsoh
vennsoh / dabblet.css
Created August 28, 2012 21:54
Sphere2
/* Sphere2 */
.container {
width: 220px;
height: 220px;
text-align: center;
border-radius: 50%;
position: relative;
cursor: default;
box-shadow: inset 0 0 0 16px rgba(0,0,0,.5);
transition: all 0.4s ease-in-out;
@vennsoh
vennsoh / dabblet.css
Created August 28, 2012 21:55
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.container{
text-align:center;
@vennsoh
vennsoh / dabblet.css
Created August 29, 2012 02:12
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.container{
text-align:center;
@vennsoh
vennsoh / dabblet.css
Created August 29, 2012 02:12
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.container{
text-align:center;
@vennsoh
vennsoh / dabblet.css
Created August 30, 2012 02:42
Sphere2
/* Sphere2 */
body{
height: 100%;
}
.container {
top:50%;
margin:auto;
margin-top:-110px;