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
tunguskha / CSS-color-var.md
Last active May 9, 2019
Darken & Lighten colors in pure CSS using variables.
View CSS-color-var.md
: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
tunguskha / Gradient shadow in pure CSS.md
Last active Jul 11, 2019
Gradient shadow in pure CSS
View Gradient shadow in pure CSS.md

Gradient shadow in pure CSS

alt text

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

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.

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