Answers for "sass variable"

CSS
8

scss variable to css variable

$color-black: #000000;

body {
    --color: #{$color-black};
}
Posted by: Guest on June-07-2021
3

SCSS variables

$font-stack:    Helvetica, sans-serif;
$primary-color: #333;

body {
  font: 100% $font-stack;
  color: $primary-color;
}
Posted by: Guest on May-17-2021
5

scss variables

$base-color: #c6538c;
Posted by: Guest on January-22-2020
1

how to declare a variable in SASS

$variablename: value;
Posted by: Guest on July-25-2021
5

sass variable

$base-color: #c6538c;
$border-dark: rgba($base-color, 0.88);

.alert {
  border: 1px solid $border-dark;
}
Posted by: Guest on June-24-2020
1

variables scss

// SCSS variables

$darkcolor: #605C4D;
$large: 350px;

section{
	background-color: $darkcolor;
  	height: $large;
}
Posted by: Guest on September-21-2020

Browse Popular Code Answers by Language