PHP Classes

File: public/vendors/bootstrap/scss/mixins/_background-variant.scss

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   Devs Hunt   public/vendors/bootstrap/scss/mixins/_background-variant.scss   Download  
File: public/vendors/bootstrap/scss/mixins/_background-variant.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Devs Hunt
Manage courses and student enrolment
Author: By
Last change:
Date: 1 month ago
Size: 695 bytes
 

Contents

Class file image Download
// stylelint-disable declaration-no-important // Contextual backgrounds @mixin bg-variant($parent, $color, $ignore-warning: false) { #{$parent} { background-color: $color !important; } a#{$parent}, button#{$parent} { @include hover-focus() { background-color: darken($color, 10%) !important; } } @include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning); } @mixin bg-gradient-variant($parent, $color, $ignore-warning: false) { #{$parent} { background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important; } @include deprecate("The `bg-gradient-variant` mixin", "v4.5.0", "v5", $ignore-warning); }