如何让这两个溢出?我尝试了几乎所有的东西,所以我不知道该从哪里出发。 div
s标有绿色和橙色。 保持div溢出
#stemplingerclass {
clear: both;
max-width: 100%;
}
#datoid
{
clear: both;
max-width: 100%;
}
<div class="col-sm-10">
<div class="col-md-3 col-sm-3 col-xs-10 text-center" style="background-color: green;" >
<div id="datoid">
</div>
</div>
<div class="col-md-7 col-sm-7 col-xs-10" style="background-color: orange;">
<div id="stemplingerclass">
</div>
</div>
</div>
你试过'overflow-y:hidden;'? 和btw你的代码片段doesent工作... – weinde
更新你的代码在小提琴 –
overflow-y:hidden;给我“相同”的结果,它只是使日历部分可滚动。 –