Skip to content

Instantly share code, notes, and snippets.

View Allan-Nava's full-sized avatar
🎮
A man who loves games and coding

Allan Nava Allan-Nava

🎮
A man who loves games and coding
View GitHub Profile
@Allan-Nava
Allan-Nava / README.md
Created May 24, 2019 09:48 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@Allan-Nava
Allan-Nava / README.md
Created March 27, 2018 09:35 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})