Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

make css variable negative

// SASS
.class {
  margin-bottom: calc(#{var(--margin-md)} * -1);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #variable #negative
ADD COMMENT
Topic
Name
6+3 =