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
| self.GLOBAL = { | |
| isWindow: function() { return true; }, | |
| isWorker: function() { return false; }, | |
| }; | |
| /*global self*/ | |
| /*jshint latedef: nofunc*/ | |
| /* | |
| Distributed under both the W3C Test Suite License [1] and the W3C | |
| 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the |
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
| /* | |
| * Generated file | |
| * DO NOT EDIT | |
| * | |
| * See libraries/tools/idl2k for details | |
| */ | |
| @file:Suppress("NESTED_CLASS_IN_EXTERNAL_INTERFACE") | |
| package org.w3c.dom |
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(modules) { // webpackBootstrap | |
| /******/ // The module cache | |
| /******/ var installedModules = {}; | |
| /******/ | |
| /******/ // The require function | |
| /******/ function __webpack_require__(moduleId) { | |
| /******/ | |
| /******/ // Check if module is in cache | |
| /******/ if(installedModules[moduleId]) { | |
| /******/ return installedModules[moduleId].exports; |
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
| // | |
| // Utilities | |
| // | |
| function forEachRows(rows, startIndex, callback) { | |
| if(arguments.length === 2 && typeof startIndex === "function") { | |
| callback = startIndex; | |
| startIndex = 0; | |
| } | |
| var numRows = rows.getNumRows() |
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
| [].slice.call(document.querySelectorAll('#content > div.fixedFont'), 0).map(function(i, n){ | |
| const text = i.innerText; | |
| let desc = i.nextSibling; | |
| while(desc && desc.className !== 'description') { | |
| desc = desc.nextSibling; | |
| } | |
| const m = text.match(/\{([^\}]+)\}\s(.+)$/) || ['', 'void', text]; | |
| const retType = m[1]; | |
| const fn = m[2]; | |
| return '/**\n * ' + desc.innerText.replace(/\n/g, '\n * ') + '\n */\n' + fn + ': ' + retType + ';'; |
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
| // https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList | |
| var allCSS = | |
| [].slice.call(document.styleSheets) | |
| .reduce(function (prev, styleSheet) { | |
| try { | |
| return prev + | |
| [].slice.call(styleSheet.cssRules) | |
| .reduce(function (prev, cssRule) { | |
| return prev + cssRule.cssText; |
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
| document.getElementById('lottie').addEventListener('click', e => { | |
| const elements = [].concat.apply([], anim.projectInterface.compositions.map(e => e.elements)); | |
| const baseElements = elements.map(elm => elm.baseElement); | |
| let element = e.target; | |
| let found = null; | |
| while(element && /^(g|path)$/.test(element.nodeName)) { | |
| let idx = baseElements.indexOf(element); | |
| if (idx !== -1) { | |
| found = elements[idx]; | |
| break; |
This is a simple image overlay hover effect html page that was created by only HTML and CSS code with bootstrap framework. I added here 10 types of overlay hover effect in this page.
Anyone can use all those effect freely.
Thanks
A Pen by Mahmudul Hasan on CodePen.