This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* CSS Dropdown Menu | |
* http://stackoverflow.com/questions/11540268/prevent-wrapping-of-menu-item | |
*/ | |
#cssmenu { | |
height: 70px; | |
background-color: #6699CC; | |
box-shadow: 0px 2px 3px rgba(0,0,0,.4); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Fluid column layout with fixed pixel margins between them. | |
*/ | |
.container { | |
width:50%; | |
height:10em; | |
padding-left:20px | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Drop-Cap Cross Browser Test | |
*/ | |
/* Baseline Grid */ | |
body { | |
background: linear-gradient(90deg, hsla(0,0%,55%,.5) 1px, transparent 1px); | |
background-size: 24px 24px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Header Underline Reduced Case | |
*/ | |
body { | |
font-family:Arial, sans-serif; | |
} | |
.title { | |
font-size: 3rem; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Header Underline Experiment | |
*/ | |
body { | |
margin: 0; | |
font: 1rem/1 Arial, sans-serif; | |
} | |
.test { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A "deeper" indented text effect with the :before and :after pseudo-elements. | |
*/ | |
html, body { | |
height: 100%; | |
} | |
body { | |
margin: 0; | |
background: #fff; | |
overflow: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($) { | |
$('.colorpicker').hide(); | |
$('.colorpicker').farbtastic('.color'); | |
$('.color').click(function() { | |
$('.colorpicker').fadeIn(); | |
}); | |
$(document).mousedown(function() { | |
$('.colorpicker').each(function() { |
NewerOlder