当页面方向设置为'rtl;它创建水平滚动。我使用了选择的插件。它会创建不需要的“左:-9999px;”对于“chosen-drop”div 类。请帮我解决这个问题。
最佳答案
.chosen-container .chosen-drop {
position: absolute;
top: 100%;
left: 9999px;
z-index: 1010;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
border-top: 0;
background: #d1d0d0;
}
使用“chosen.css”文件查找并更改它。但是“左:-9999px;”应改为“left: 9999px;”
关于html - 选择的方向 rtl 水平滚动问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28336533/