Skip to content

Instantly share code, notes, and snippets.

View gentle-media's full-sized avatar

Gentle Media gentle-media

  • Gentle Media
  • Rhodes, Greece
View GitHub Profile
@gentle-media
gentle-media / dabblet.css
Created March 29, 2012 10:36
CSS3 ribbon buttons
/**
* CSS3 ribbon buttons
*/
.ribbonA{
position: relative;
display: block;
width: 258px;
height: 50px;
font: .9em/50px Georgia, "Times New Roman", Times, serif;
@gentle-media
gentle-media / dabblet.css
Created March 31, 2012 19:11
CSS3 ribbon buttons
/**
* CSS3 ribbon buttons
*/
.ribbonA{
position: relative;
display: block;
width: 258px;
height: 50px;
font: .9em/50px Georgia, "Times New Roman", Times, serif;
@gentle-media
gentle-media / dabblet.css
Created April 20, 2012 13:38
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
/* The large delay prevents the color from changing */
p.perm {
transition: color 0s 9999999s;
}
/**
* CSS3 Version from: http://www.onlywebpro.com/2012/04/14/how-to-create-a-beautiful-slide-out-navigation-within-a-minute/
*/
body {
background: #33363b;
padding: 5px;
font: bold 14px "Open Sans",Helvetica,Arial,sans-serif}
#main_nav {
@gentle-media
gentle-media / dabblet.css
Created April 25, 2012 11:27
CSS3 tabs (experimental)
/**
* CSS3 tabs (experimental)
*/
ul {
list-style: none;
margin: 0;
padding: 0}
.tabs {
@gentle-media
gentle-media / dabblet.css
Created April 26, 2012 15:04
How to animate 2 different elements on hover?
/**
* How to animate 2 different elements on hover?
*/
body {padding: 100px 20px}
ul {
list-style: none;
margin: 0;
padding: 0}
/**
* DWC
*/
#left_column, #center_column, #right_column {
width: 290px;
float:left;
padding: 10px 10px 10px 10px;
border:2px solid #85c441;
/**
* DWC 2
*/
body {padding: 100px 0 0 0}
.content {
width: 708px;
margin: 0 auto;
padding: 0;
@gentle-media
gentle-media / dabblet.css
Created June 10, 2012 10:38
CSS3 :target experiment
/**
* CSS3 :target experiment
*/
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
font-family: Helvetica, arial, serif;
@gentle-media
gentle-media / dabblet.css
Created September 5, 2012 15:26
Example thumbnail grid and captions with definition lists set to 'display: inline-block'
/**
* Example thumbnail grid and captions with definition lists set to 'display: inline-block'
*/
/* Agressive CSS reset just for demostration purpose only.
* It's recommended to use normalize.css as reset
* (http://necolas.github.com/normalize.css/)
*/
* {
margin: 0;