Skip to content

Instantly share code, notes, and snippets.

View machal's full-sized avatar

Martin Michálek machal

View GitHub Profile
@machal
machal / dabblet.css
Created January 27, 2012 11:04
Dabblet: CSS transitions demo
/**
* Dabblet: CSS transitions demo
*/
#example {
transition: background .5s, top .5s 1s;
position: absolute;
top: 20px;
padding: 20px;
background: #999;
@machal
machal / dabblet.css
Created January 27, 2012 15:18
Dabblet: Loading spinner – CSS animation with PNGa
/**
* Dabblet: Loading spinner – CSS animation with PNGa
* Author: Martin Michalek, twitter.com/machal
*/
body {
background: lightgrey;
}
.loading {
@machal
machal / dabblet.css
Created January 28, 2012 11:10
Dabblet: accessible navigation with WAI-ARIA and fallback for older assistive technologies
/**
* Dabblet: accessible navigation with WAI-ARIA and fallback for older assistive technologies
*
* Více česky na http://zdrojak.root.cz/clanky/pristupnost-ria-strukturovani-dokumentu-a-pristupnost-z-klavesnice/
*/
@machal
machal / dabblet.css
Created January 28, 2012 11:59
Dabblet: ukazky "krapy first" technicke implementace
/*
* Dabblet: ukazky "krapy first" technicke implementace
*/
/*
Vrstva pro krapy:
* reset/normalizace
* zakladni typografie
*/
@machal
machal / dabblet.css
Created January 29, 2012 16:12
Dabblet: Testing HTML5 input attributes (placeholder, required, pattern)
/**
* Dabblet: Testing HTML5 input attributes (placeholder, required, pattern)
* and CSS3 styling of required
*/
input[required] {
border: 3px solid #333;
}
input[required]:invalid:focus {
@machal
machal / dabblet.css
Created February 5, 2012 12:09
Dabblet: Loading spinner with animated SVG
/**
* Dabblet: Loading spinner with animated SVG
*/
body {
background: lightgrey;
}
/* Modern browsers */
@machal
machal / dabblet.css
Created February 12, 2012 09:54
Dabblet: SVG sandbox
/**
* Dabblet: SVG sandbox
*/
body {
background: lightgrey;
}
/* Modern browsers */
@machal
machal / dabblet.css
Created February 22, 2012 21:20
Border transition on hover / animace zmen vlastnosti ramecku po najeti mysi
/**
* Border transition on hover / animace zmen vlastnosti ramecku po najeti mysi
* Source / zdroj: http://jsdo.it/ksk1015/cLLl/fullscreen
*/
.circle {
display: inline-block;
width: 150px;
height: 150px;
margin: 0;
@machal
machal / e-slovensko_newlayout.css
Created March 7, 2012 19:15
Mobile CSS files: e-Slovensko.cz, m.scuk.cz, Snowkidz.cz
/*
Novy obsahovy stylopis pro weby DCK Rekrea Ostrava (2011)
=========================================================
Autor: Martin Michalek, webmaster@eslovensko.cz
Struktura
.........
@machal
machal / dabblet.css
Created March 12, 2012 15:46
Dabblet: CSS speech or tooltip bubble with box shadow
/**
* Dabblet: CSS speech or tooltip bubble with box shadow
* Author: Martin Michálek, twitter.com/machal
*/
.bubble {
width: 200px;
}
.bubble_head {