diff options
Diffstat (limited to 'bootstrap/less/mixins/background-variant.less')
-rwxr-xr-x | bootstrap/less/mixins/background-variant.less | 9 |
1 files changed, 9 insertions, 0 deletions
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%); + } +} |