Bootstrap popover width for popover-inner

前端 未结 10 1549
攒了一身酷
攒了一身酷 2020-12-29 18:48

I would like the have a Bootstrap Popover be wider. I read that this should work:

.popover-inner a {
   width: 600px;
}

But, the browser c

10条回答
  •  抹茶落季
    2020-12-29 19:38

    Add your popover content as HTML with your own class and then in CSS file add:

    .popover .own-class { width: ... }
    

    ".own-class" element width will determine popover width.

提交回复
热议问题