Skip to content

Instantly share code, notes, and snippets.

View vvlad5's full-sized avatar
:electron:
JS | TS | React

Uladzislau Halko vvlad5

:electron:
JS | TS | React
  • Tbilisi, Georgia
View GitHub Profile
@vvlad5
vvlad5 / README.md
Created March 4, 2024 23:50 — 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.

Download This sample on Google Play Store

@vvlad5
vvlad5 / easing.js
Created February 7, 2020 15:01 — forked from gre/easing.js
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
// no easing, no acceleration
linear: t => t,
// accelerating from zero velocity
easeInQuad: t => t*t,
// decelerating to zero velocity
@vvlad5
vvlad5 / media-query.css
Created September 28, 2019 18:00 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS