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 July 2, 2013 10:46
Change through a radio button a href with jQuery
/**
* Change through a radio button a href with jQuery
*/
body {
background: #fff;
min-height: 100%}
@gentle-media
gentle-media / dabblet.css
Created September 19, 2012 10:38
CSS3 fade in/out slideshow experiment
/**
* CSS3 fade in/out slideshow experiment
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box}
#slideshow {
@gentle-media
gentle-media / dabblet.css
Created September 6, 2012 10:36
CSS3 keyboard arrow keys
/**
* CSS3 keyboard arrow keys
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box}
body {
@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;
@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;
/**
* DWC 2
*/
body {padding: 100px 0 0 0}
.content {
width: 708px;
margin: 0 auto;
padding: 0;
/**
* DWC
*/
#left_column, #center_column, #right_column {
width: 290px;
float:left;
padding: 10px 10px 10px 10px;
border:2px solid #85c441;
@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}
@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 {
/**
* 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 {