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
/** | |
* Returns a string with inversed cases | |
* @param {String} string The 'string' to inverse the cases of its characters | |
*/ | |
const caseInverse = string => string.split('').map(letter => letter.toUpperCase() === letter ? letter.toLowerCase() : letter.toUpperCase()).join(''); | |
module.exports = caseInverse; |
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
/* | |
Autofill Background Transparency CSS Fix | |
Author: @omzi | |
Date: 2025 | |
Works in: Chrome, Edge, & other Chromium-based browsers | |
This trick uses -webkit-background-clip: text to effectively | |
hide the browser's default yellow/gray autofill background without | |
needing JavaScript or animation tricks. | |
*/ |