Answers for "define variables in a class and make it global 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

scss global class

:global {
    .tweet {
        text-align: left;
    }
    .user {
        text-align: left;
    }   
}
Posted by: Guest on July-06-2020

Code answers related to "define variables in a class and make it global sass"

Browse Popular Code Answers by Language