use hover in bootstrap class code example Example: bootstrap div hoover .hoverDiv {background: #fff;} .hoverDiv:hover {background: #f5f5f5;}