Skip to content

Instantly share code, notes, and snippets.

View AilsonFreire's full-sized avatar

Ailson Rocha Freire AilsonFreire

  • Gotemburg/ Swedem
View GitHub Profile
*,
*::before,
*::after {
margin: 0;
padding: 0;
outline: 0;
border: 0;
box-sizing: border-box;
}
@lopspower
lopspower / README.md
Last active October 27, 2025 16:16
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: