Skip to content

Instantly share code, notes, and snippets.

View dziudek's full-sized avatar

Tomasz Dziuda dziudek

View GitHub Profile
@dziudek
dziudek / dabblet.css
Created March 15, 2012 09:38
:hover overlay effect with using :after instead of additional element
/**
* :hover overlay effect with using :after instead of additional element
**/
body > div {
width: 100px;
height: 100px;
background: #eee;
margin: 100px;
}
@dziudek
dziudek / dabblet.css
Created March 19, 2012 18:46
Button with background for left and right side.
/**
* Button with background for left and right side.
*/
div {
height: 32px;
line-height: 32px;
background: #c00;
float:left;
padding: 0 10px;
@dziudek
dziudek / dabblet.css
Created March 21, 2012 10:22
Layout with the two lines at both sides without using additional elements (only :after and :before)
/**
* Layout with the two lines at both sides without using additional elements (only :after and :before)
*/
div {
background: #fff;
width:100%;
height:30px;
text-align: center;
position: relative;
@dziudek
dziudek / dabblet.css
Created March 21, 2012 11:00
Animated dots for pagination
/**
* Animated dots for pagination
*/
ol {
list-style-type:none;
padding:0;
}
ol li {
@dziudek
dziudek / dabblet.css
Created March 21, 2012 11:08
Animated dots for pagination - with links
/**
* Animated dots for pagination - with links
*/
/* this implementation uses links instead of the :before pseudoelement */
ol {
list-style-type:none;
padding:0;
}
@dziudek
dziudek / dabblet.css
Created March 25, 2012 08:55
Method to place visual separator between table cell's without using additional HTML elements
/**
* Method to place visual separator between table cell's without using additional HTML elements
*/
body > div {
display:table;
width: 600px;
}
body > div > div {
@dziudek
dziudek / dabblet.css
Created March 28, 2012 13:55
Rotating elements :)
/**
* Rotating elements :)
*/
body > div {
background: #eee;
}
div > div {
width: 100px;
@dziudek
dziudek / dabblet.css
Created March 28, 2012 14:13
Rotating elements - list :)
/**
* Rotating elements - list :)
*/
ul {
margin:0;
padding:0;
}
ul li {
float:left;
@dziudek
dziudek / dabblet.css
Created March 29, 2012 14:38
Simple CSS UI Kit
/**
* Simple CSS UI Kit
*/
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
@dziudek
dziudek / dabblet.css
Created March 29, 2012 15:45
Simple CSS UI Kit
/**
* Simple CSS UI Kit
*/
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}