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
<html> | |
<head> | |
<style> | |
p { background: #f5f4ee; } | |
p:hover { background: #9d8380; } | |
</style> | |
</head> | |
<body> | |
<p><img src="https://a.sidepodcast.com/svg/sidepodcast-f1-encyclopedia-icons.svg#car" width="100" height="100" alt="Car icon"></p> | |
<p><img src="https://a.sidepodcast.com/svg/sidepodcast-f1-encyclopedia-icons.svg#chequered-flag" width="100" height="100" alt="Chequered flag icon"></p> |
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
<!doctype html> | |
<head> | |
<meta charset=utf-8> | |
<title>3D spin</title> | |
<style> | |
/* | |
* nb: -webkit only for brevity. tested in chrome 21 | |
*/ | |
body { | |
-webkit-perspective: 800px; |
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
audio { display: inline-block; *display: inline; *zoom: 1; } | |
audio:not([controls]) { display: none; } | |
div { | |
background: #fe57a1; | |
color: #fafafa; | |
} | |
.chunky-div > audio:not([controls]) { background: #444; } | |
.svelte-div > audio:not([controls]) { background: #444; height: 0; } |
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
/* vertical scrollbar placeholder */ | |
html { overflow-y: scroll; } | |
/* inverse selection highlight */ | |
::selection { background: #3f87cb; color: #fff; text-shadow: none; } |
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
// nb: assumes use of jquery | |
// | |
// array | |
var existing = []; | |
// grab list items | |
$("li[data-identifier]").each(function() { | |
// add to array | |
existing.push($(this).attr("data-identifier")); | |
}); |