Horje
scss how to use a variable in entire angular project Code Example
scss how to use a variable in entire angular project
/*in the src/_variables file:*/
$primary-color: blue;

/*in the component you want to use the variable:*/

@use 'src/variables' as c;

.container-fluid {
  text-align: center;
  background-color: c.$primary-color;
}




Css

Related
flex basis Code Example flex basis Code Example
css horizontal line around text Code Example css horizontal line around text Code Example
espacio entre lineas css Code Example espacio entre lineas css Code Example
box shadow 2 sides only Code Example box shadow 2 sides only Code Example
import global variables scss angular Code Example import global variables scss angular Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8