Answers for "root variables sass"

CSS
6

variables in sass

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

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

how to set scss variables

$main-background: hsl(233, 47%, 7%);
$card-background: hsl(244, 38%, 16%);
$accent: hsl(277, 64%, 61%);
$primary: hsl(0, 0%, 100%);
$paragraph: hsla(0, 0%, 100%, 0.75);
$stats-heading: hsla(0, 0%, 100%, 0.6);
Posted by: Guest on April-23-2022

Browse Popular Code Answers by Language