Search
 
SCRIPT & CODE EXAMPLE
 

CSS

import global variables scss angular

/*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;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css transparent color 
Css :: css nth-child 
Css :: remove position absolute attribute by adding css 
Css :: how to center an overlay button using css transform and translate 
Css :: checkbox change background color bootstrap 
Css :: create arrow div css 
Css :: css bold weight 
Css :: rgb blue color code 
Css :: after icon css 
Css :: css coor background 
Css :: css disabled hover style 
Css :: aligne center css 
Css :: text-transform 
Css :: letter spacing in css 
Css :: css calc vw minus px 
Css :: scss maps´ 
Css :: css noise filter 
Css :: how to change link color hover button text 
Css :: css affect all child elements 
Css :: hide in css 
Css :: sass import 
Css :: how to modify select icon csshow to modify select icon css 
Css :: input background color 
Css :: background url with color css 
Css :: scale textarea 
Css :: line icon cdn 
Css :: animations 
Css :: css after on hover 
Css :: after certain width how make ontent center and add margin auto both side 
Css :: CSS Reference element height 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =