This file contains 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
/* | |
* Klappfunktion mit jQuery accessible machen mit WAI-ARIA. Skript von Alexander Farkas. | |
* Original: http://gist.github.com/329709 | |
* Fork: http://gist.github.com/329832 | |
* Ausgangsartikel mit Diskussion dazu: | |
http://grochtdreis.de/weblog/2010/03/11/anreicherung-meiner-webseite-mit-wai-aria/ | |
*/ | |
(function($){ | |
/* a11y-helper */ |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>HTML5 Form Elements</title> | |
<style> | |
body { padding:1em; } | |
</style> | |
</head> | |
<body> |
This file contains 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 2 | |
5.8.1 Matching attributes and attribute values | |
http://www.w3.org/TR/CSS2/selector.html#attribute-selectors | |
Attribute selectors may match in four ways: | |
[att] | |
Match when the element sets the "att" attribute, | |
whatever the value of the attribute. |
This file contains 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
{ scopeName = 'text.html.basic'; | |
firstLineMatch = '<!DOCTYPE|<(?i:html)|<\?(?i:php)'; | |
fileTypes = ( 'html', 'htm', 'shtml', 'xhtml', 'phtml', 'php', 'inc', 'tmpl', 'tpl', 'ctp' ); | |
foldingStartMarker = '(?x) | |
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?> | |
|<!--(?!.*--\s*>) | |
|^<!--\ \#tminclude\ (?>.*?-->)$ | |
|<\?(?:php)?.*\b(if|for(each)?|while)\b.+: | |
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip) | |
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/))) |
This file contains 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
/** | |
* The -Webkit-scrollbar challenge | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
* Make the first div’s scrollbar like the second’s | |
* without changing the styling of the div (i.e. you | |
* can only change the ::-webkit-scrollbar-* rules | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
* It doesn't matter if the second div doesn't look the same | |
* after your changes, it's only there to show you how the | |
* end result should look. |
This file contains 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
/** | |
* Angled Navigation? | |
* to help @Chrisedmo | |
*/ | |
nav li { | |
list-style: none; | |
float: left; | |
} |
This file contains 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
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
This file contains 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
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
This file contains 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
// | |
// MIXINS | |
// | |
// SHADOWS | |
@mixin box-shadow ($string) { | |
-webkit-box-shadow: $string; | |
-moz-box-shadow: $string; | |
box-shadow: $string; | |
} |
This file contains 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 only show/hide | |
*/ | |
html { | |
background: white url(http://genelocklin.com/examples/shared-images/texture/generated.png) 0 0 repeat; } | |
* { |
OlderNewer