- Web Docs: DocHub - DevDocs
- All CSS properties
- HTML Elements: Native - Native2 - Simple - HTML5 demos
- Specs
- Can I use
- Should I use
- jQuery -> JS
- Default Font Family
- Shadow DOM selectors - Form Pseudo Elements
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
/** | |
* Jasmine 1.3 async helper | |
*/ | |
function async (run) { | |
return function () { | |
var done = false | |
waitsFor(function () { return done }) | |
run(function () { done = true }) | |
} |
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
function setWeatherIcon(condid) { | |
switch(condid) { | |
case '0': var icon = '<i class="wi-tornado"></i>'; | |
break; | |
case '1': var icon = '<i class="wi-storm-showers"></i>'; | |
break; | |
case '2': var icon = '<i class="wi-tornado"></i>'; | |
break; | |
case '3': var icon = '<i class="wi-thunderstorm"></i>'; |
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
#!/usr/bin/env bash | |
# | |
# This is sp, the command-line Spotify controller. It talks to a running | |
# instance of the Spotify Linux client over dbus, providing an interface not | |
# unlike mpc. | |
# | |
# Put differently, it allows you to control Spotify without leaving the comfort | |
# of your command line, and without a custom client or Premium subscription. | |
# |
An ongoing project to catalogue all of these sneaky, hidden, bleeding edge selectors as I prepare my JSConf EU 2012 talk.
Everything is broken up by tag, but within each the selectors aren't particularly ordered.
I have not tested/verified all of these. Have I missed some or got it wrong? Let me know. - A
A friendly reminder that you may need to set this property on your target/selected element to get the styling results you want:
-webkit-appearance:none;