Twitter Bootstrap - how to add some more margin between tooltip popup and element

后端 未结 4 2172
自闭症患者
自闭症患者 2021-02-19 09:23

i have not tryed anything since i can\'t understand where space between tooltip and element is made/added from bootstrap, normally tooltip is really near the element who trigge

4条回答
  •  天命终不由人
    2021-02-19 10:18

    Here is the complete Bootstrap 4 solution

    .bs-tooltip-top {
        top: -10px !important;
    }
    
    .bs-tooltip-right {
        left: 10px !important;
    }
    
    .bs-tooltip-bottom {
        top: 10px !important;
    }
    
    .bs-tooltip-left {
        left: -10px !important;
    }
    

提交回复
热议问题