File: theme/sass/bootstrap/mixins/_background-variant.scss

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra  >  Giga CMS  >  theme/sass/bootstrap/mixins/_background-variant.scss  >  Download  
File: theme/sass/bootstrap/mixins/_background-variant.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Giga CMS
Multi-user content management system
Author: By
Last change:
Date: 4 years ago
Size: 233 bytes
 

Contents

Class file image Download
// Contextual backgrounds

// [converter] $parent hack
@mixin bg-variant($parent, $color) {
  #{$parent} {
    background-color: $color;
  }
  a#{$parent}:hover,
  a#{$parent}:focus {
    background-color: darken($color, 10%);
  }
}
For more information send a message to info at phpclasses dot org.