Skip to content

Instantly share code, notes, and snippets.

@jcsrb
jcsrb / dabblet.css
Created June 25, 2012 13:26
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body{
background-image: url(http://img.ffffound.com/static-data/assets/6/b27b7437910f2a8b67d8473219f909e251053ec7_m.gif)
}
@jcsrb
jcsrb / dabblet.css
Created June 15, 2012 14:59
Dabblet: CSS button done i 10seconds
/*
* Dabblet: CSS button done i 10seconds
* thanks to CSSHat and this PSD file: http://365psd.com/day/56/
* Workman: @machal
*/
.test {
color: #fff;
font: 15px/30px sans-serif;
text-align: center;
/**
* User login based on http://dribbble.com/shots/598906-User-Login
*/
body { background-color: #f1f6f9}
* {
appearance: none!important
margin: 0;
padding: 0;
/**
* Recipt
*/
@font-face {
font-family: 'Conv_FakeReceipt';
src: url('http://dl.dropbox.com/u/453380/FakeReceipt.woff') format('woff');
font-weight: normal;
font-style: normal;
}
/**
* rotate card (Chrome bug http://code.google.com/p/chromium/issues/detail?id=97458 )
*/
.id-card {
width: 200px;
height: 200px;
padding: 5%;
border-radius: 50%;
box-sizing: border-box;
background: plum;
@jcsrb
jcsrb / dabblet.css
Created May 12, 2012 16:40
Border Image Gradient
/**
* Border Image Gradient
*/
#bi{
display:block;
width:500px;
height: 300px;
position: absolute;
top: 50%;
margin-top: -150px;
@jcsrb
jcsrb / dabblet.css
Created May 12, 2012 13:55
Code Forward
/* Code Forward */
@import url(http://fonts.googleapis.com/css?family=Old+Standard+TT:400,700);
body{
background-color: #bec4b5;
background-image: url('http://jakob.cosoroaba.ro/demos/Tools/miniplayer/dot.png'), url('http://30.media.tumblr.com/tumblr_lvsuuuw7lI1qe0eclo1_r8_500.gif');
background-size: auto, cover;
font-family: 'Old Standard TT', serif;
}
#svg3214{
@jcsrb
jcsrb / dabblet.css
Created May 3, 2012 13:51
Top and Bottom inset shadow
/**
* Top and Bottom inset shadow
*/
#element{
background-color: #E3F2F7;
height: 55px;
position: relative; /* to position pseudo absolute*/
overflow: hidden; /* to cut of overflow shadow*/
@jcsrb
jcsrb / dabblet.css
Created April 25, 2012 16:51
Phisicaly size based mediaqueries
/**
* Phisicaly size based mediaqueries
*/
body{
display:block;
}
body:after{
content:'';
font-size: 4em;
@jcsrb
jcsrb / dabblet.css
Created April 19, 2012 13:07
should this work?
a{
display:block;
}
/*
should this work?
concat of an attr with a string seams to work
if you look at the content rule in line 21
based on the css3 spec http://www.w3.org/TR/css3-values/#attr-value