【CSS】Bootstrap中select2+popover冲突

网上搜索得到:

It changes the position because the position is based on the popover's dimansions and select2 changes that.

The proper way would be to style select2 (check their documentation) and then change the positionning.

If you want a quick fix for positionning you can give the popover the dimansins it used to have:

jsfiddle

I only added the dimensions for the popover to the css:

.popover{width: 249px; height: 304px;}
上一篇:css画一个提示框


下一篇:第一篇:初识ASP.NET控件开发_第二节:HelloWorld