Created
December 21, 2016 12:41
-
-
Save derlin/f4db4d0ebef21e47405d31f591232183 to your computer and use it in GitHub Desktop.
bootstrap 4 tips
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* change bootstrap 4 tooltip colors, including the arrow ! */ | |
.tooltip-inner { | |
background-color: #555; | |
} | |
/* tooltip top arrow */ | |
.tooltip.bs-tether-element-attached-bottom .tooltip-inner::before, .tooltip.tooltip-top .tooltip-inner::before { | |
border-top-color: #555; | |
} | |
/* tooltip bottom arrow */ | |
.tooltip.bs-tether-element-attached-top .tooltip-inner::before, .tooltip.tooltip-bottom .tooltip-inner::before{ | |
border-bottom-color: #555; | |
} | |
/* tooltip left arrow */ | |
.tooltip.bs-tether-element-attached-right .tooltip-inner::before, .tooltip.tooltip-left .tooltip-inner::before{ | |
border-left-color: #555; | |
} | |
/* tooltip right arrow */ | |
.tooltip.bs-tether-element-attached-left .tooltip-inner::before, .tooltip.tooltip-right .tooltip-inner::before{ | |
border-right-color: #555; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment