Skip to content

Instantly share code, notes, and snippets.

Fabien tunguskha

Block or report user

Report or block tunguskha

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tunguskha / country-name-to-iso.js
Created Oct 16, 2019
Javascript country name to ISO country code conversion
View country-name-to-iso.js
var isoCode = {
'Afghanistan': 'AF',
'Aland Islands': 'AX',
'Albania': 'AL',
'Algeria': 'DZ',
'American Samoa': 'AS',
'Andorra': 'AD',
'Angola': 'AO',
'Anguilla': 'AI',
'Antarctica': 'AQ',
tunguskha /
Last active Jan 8, 2020
Darken & Lighten colors in pure CSS using variables.
:root {
  /* Base color using HSL */
  --hue: 207;
  --saturation: 64%;
  --light: 44%;
  /* Base color in variable */
  --primary-color: hsl(var(--hue), var(--saturation), var(--light));
  /* Base color lighten using calc */
tunguskha / Gradient shadow in pure
Last active Feb 13, 2020
Gradient shadow in pure CSS
View Gradient shadow in pure

Gradient shadow in pure CSS

alt text

<button>Let's Go !</button>
tunguskha / How to couple Sass and CSS
Last active Mar 19, 2019
How to couple Sass and CSS Var
View How to couple Sass and CSS

How to couple Sass and CSS Var

If you use Sass extension, you can work with CSS variables.

First, let's create our css variable.

  --MyColor: #5966D2
You can’t perform that action at this time.