Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css root variables

/* css variables set up */
:root {
  --main-bg-color: brown;
  --main-padding: 1rem;
}

/* use */
.element {
  background-color: var(--main-bg-color);
  padding: var(--main-padding);
}
Comment

PREVIOUS NEXT
Code Example
Css :: centering css elements 
Css :: how to hover over an individual cell in table css 
Css :: html input search x cursor pointer 
Css :: css fade in and stay 
Css :: remove border from last child css 
Css :: background-color not showing grover pdf 
Css :: css invert columns 
Css :: 3 column responsive grid css 
Css :: two background images css 
Css :: remove line accordion material ui 
Css :: how to hide scrollbar overflow 
Css :: remove background when autofill input css 
Css :: css change image saturation 
Css :: change color to white svg with filter 
Css :: how to remove default styling of a tag 
Css :: unclickable button 
Css :: background color css rgb 
Css :: label width css 
Css :: css first h element 
Css :: add cursor to html button 
Css :: centering with flexbox 
Css :: wpdb insert query 
Css :: image right css 
Css :: ion-select background color 
Css :: css style slider color 
Css :: css padding 
Css :: media query for mobile landscape only 
Css :: espacio entre lineas css 
Css :: line through text css 
Css :: how to use the transition left in css 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =