放在这显示的时候是正确的,但是在本地的时候下拉出来的一串东西显示在body的右侧,是我的css和js文件有问题吗?可是我一直用的同一个库文件啊
Dropdowns are automatically positioned via CSS within the normal flow of the document. This means dropdowns may be cropped by parents with certain overflow properties or appear out of bounds of the viewport. Address these issues on your own as they arise.
请注意这节课在style.css 引入了
.dropdown{
float: left;
}