CAUTION: May contain traces of JavaScript
Hi,
I pretend to be an ellipse but I’m a liar. Try changing my aspect ratio to see why ;-)
Hi,
I’m a true ellipse. Try changing my aspect ratio: I’ll still be an ellipse ;-)
I have a shadow and it will soon have a spread radius. Stop reading this and pay attention if you wanna find out what that is!
Hi,
I have multiple shadows with spread radii so they look like outlines.
First thought:
var dummy = document.createElement('_');
if(!('pointerEvents' in dummy.style)) {
/* Workaround here */
}
var supportsPointerEvents = (function(){ var dummy = document.createElement('_');
if(!('pointerEvents' in dummy.style)) return false;
dummy.style.pointerEvents = 'auto'; dummy.style.pointerEvents = 'x';
document.body.appendChild(dummy); var r = getComputedStyle(dummy).pointerEvents === 'auto'; document.body.removeChild(dummy); return r;
})();
Original idea by Martin Auswöger
function noPointerEvents (element) { $(element).bind('click mouseover', function (evt) {
this.style.display = 'none';
var x = evt.pageX, y = evt.pageY,
under = document.elementFromPoint(x, y);
this.style.display = '';
evt.stopPropagation(); evt.preventDefault();
$(under).trigger(evt.type);
}); }
tab-size
property
3 colors or more:
9 colors or more:
Credit where it’s due: André Luís came up with the first version of this idea
Credit where it’s due: Ryan Seddon came up with the first version of this idea
Browser | Supported | Buggy | No support |
---|---|---|---|
Firefox | |||
Opera | |||
Webkit | |||
Internet Explorer |
Q: Will the slides be published? When?
A: They already are:
Q: How did you make the slides?
A: With my slideshow framework, CSSS (github.com/LeaVerou/CSSS)
Takk!
lea.verou.me @leaverou lea@verou.me