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
| div { | |
| background-color: mix(rgba(166, 145, 113), #0061fe, 32%); | |
| position: relative; | |
| width: 100px; | |
| height: 100px; | |
| } | |
| div#second { | |
| background-color: mix(rgba(166, 145, 113, 0.32), #0061fe); |
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
| div { | |
| background-color: mix(rgba(166, 145, 113), #0061fe, 32%); | |
| position: relative; | |
| width: 100px; | |
| height: 100px; | |
| } | |
| div#second { | |
| background-color: mix(rgba(166, 145, 113, 0.32), #0061fe); |
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
| /** | |
| Workaround for iOS 6 setTimeout bug using requestAnimationFrame to simulate timers during Touch/Gesture-based events | |
| Author: Jack Pattishall (jpattishall@gmail.com) | |
| This code is free to use anywhere (MIT, etc.) | |
| Usage: Pass TRUE as the final argument for setTimeout or setInterval. | |
| Ex: | |
| setTimeout(func, 1000) // uses native code | |
| setTimeout(func, 1000, true) // uses workaround |
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
| (function (window) { | |
| // This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6. | |
| // iOS6 suffers from a bug that kills timers that are created while a page is scrolling. | |
| // This library fixes that problem by recreating timers after scrolling finishes (with interval correction). | |
| // This code is released in the public domain. Do with it what you want, without limitations. I do not promise | |
| // that it works, or that I will provide support (don't sue me). | |
| // Author: rkorving@wizcorp.jp | |
| var timeouts = {}; |