Bootstrap Change Tooltip Background Color

Bootstrap Change Tooltip Background Color: Sometimes we need to change the tooltip background color in Bootstrap. There are many ways to do this, You can create your own class to change the background color of the Bootstrap tooltip background Color. Here in this tutorial we are going to explain how you can change background color of tooltip color. You can also use our online editor to edit and run the code online.

Bootstrap Change Tooltip Background Color Example

You can change the Tooltip background color in Bootstrap simply as below –

Chanage Tooltip Text Color & Background Color

In the below example we changed the tooltip background color as well as the text color.

Bootstrap Change Tooltip Background Color Example:

<title>Bootstrap Grid</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="">

<!-- Optional theme -->
<link rel="stylesheet" href="">
<script src=""></script>
<!-- Latest compiled and minified JavaScript -->
<script src=""></script>
<script type="text/javascript">
        placement : 'top'
<style type="text/css">
.myTooltip .tooltip > .tooltip-inner{
<div class="container" style="padding:100px;">

<ul class="list-inline">
  <li class="myTooltip"><a href="#" data-toggle="tooltip" data-original-title="Default Home tooltip on top">Home</a></li>
  <li><a href="#" data-toggle="tooltip" data-original-title="Default Settings tooltip on top">Settings</a></li>


Try it »

If you run the above example it will produce the output something like this –

Bootstrap Change Tooltip Background Color Example


Add Comment

📖 Read More