description =>
"caniuse.",
keywords => [qw'html css browser feature'],
- stylesheet => [qw'circus dark mono red'],
+ stylesheet => [qw'circus dark mono red light'],
data => ['browser-support.inc.pl'],
});
}
:>
-<script>
-var classmatch = / p(\d{2})/;
-Array.forEach(document.getElementsByTagName('TD'), function(val) {
- var opacity;
- if (opacity = classmatch.exec(val.className)) {
- var c = document.defaultView.getComputedStyle(val, null).getPropertyValue('background-color');
- var o = opacity[1] / 100;
- val.style.backgroundColor = c.replace(/rgb\((.*)\)/, 'rgba($1, '+o+')');
- val.style.textShadow = c+' 1px 1px 2px, ' + c+' -1px -1px 2px';
- }
-});
-</script>
<hr>
<div class="legend">