Change the default style of bootstrap PopOver

Source: Internet
Author: User

1 . popover {2 Position:absolute;3top:0;4left:0;5z-index:1060;6 Display:none;7max-width:276px;8 padding:1px;9font-size:14px;Tenfont-weight:400; Oneline-height:1.42857143; Atext-Align:left; -white-Space:normal; -background-color: #fff; the-webkit-background-clip:padding-box; -background-clip:padding-box; - border:1px solid #ccc; -border:1px Solid Rgba (0,0,0,.2); +border-radius:6px; --webkit-box-shadow:0 5px 10px Rgba (0,0,0,.2); +box-shadow:0 5px 10px Rgba (0,0,0,.2); A}

BootStrap popover Popup Default style, you need to modify the popup style to customize the style you want to modify in CSS, for example: padding to 6px, background color modified to black, font color modified to White

1 . PopOver {2    padding:6px;  3    background-color:#000;  4    color:#fff;  5 }

Change the default style of bootstrap PopOver

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.