Skip to content

Instantly share code, notes, and snippets.

@luxplanjay
luxplanjay / flex-basis-calc.css
Last active April 10, 2025 17:07
Формула расчёта ширины flex-элемента в сетке
.element {
flex-basis: calc((100% - кол-во маржинов в строке * значение маржина) / кол-во элементов в строке);
}
@lopspower
lopspower / README.md
Last active April 22, 2025 06:44
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.

Download This sample on Google Play Store