Experimenting with CSS Image-rendering for a project.
A Pen by Pino Ceniccola on CodePen.
| #!/bin/sh | |
| ## Author: Yotam Gingold | |
| ## License: CC0 (public domain) https://creativecommons.org/share-your-work/public-domain/cc0/ | |
| ## URL: https://gist.github.com/yig/af5bbb054bb9c4de39abc9156e6863e1/edit | |
| ## Download the latest Zoom installer. | |
| echo "==> Downloading the latest Zoom installer." | |
| cd ~/Downloads | |
| curl -LO 'https://zoom.us/client/latest/Zoom.pkg' |
| (function(){ | |
| var supportsPassive = false; | |
| try { | |
| var opts = Object.defineProperty({}, 'passive', { | |
| get: function() { | |
| supportsPassive = true; | |
| } | |
| }); | |
| window.addEventListener("testPassive", null, opts); | |
| window.removeEventListener("testPassive", null, opts); |
Experimenting with CSS Image-rendering for a project.
A Pen by Pino Ceniccola on CodePen.