Mercurial > nebulaweb3
view default/assets/scss/vendors/bootstrap/mixins/_badge.scss @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
line wrap: on
line source
@mixin badge-variant($bg) { @include color-yiq($bg); background-color: $bg; &[href] { @include hover-focus { @include color-yiq($bg); text-decoration: none; background-color: darken($bg, 10%); } } }