From 85a9d81638d240f3fa9ed01cb139ef33243b379b Mon Sep 17 00:00:00 2001 From: sanjeevi01 Date: Fri, 5 Jul 2019 15:30:52 +0530 Subject: Initial commit --- bootstrap/less/mixins/background-variant.less | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bootstrap/less/mixins/background-variant.less (limited to 'bootstrap/less/mixins/background-variant.less') diff --git a/bootstrap/less/mixins/background-variant.less b/bootstrap/less/mixins/background-variant.less new file mode 100755 index 0000000..a85c22b --- /dev/null +++ b/bootstrap/less/mixins/background-variant.less @@ -0,0 +1,9 @@ +// Contextual backgrounds + +.bg-variant(@color) { + background-color: @color; + a&:hover, + a&:focus { + background-color: darken(@color, 10%); + } +} -- cgit