<style>
.container{
width:500px;
}
.left{
width:250px;
}
.right{
width:250px;
}
</style>
<div class="container">
<div class="left"></div>
<div class="right"></div>
</div>
如何添加一个水平拖动条,通过拖动条来控制内部两个div的宽度,恳请大神指点
不知道你要的是不是这种:
<!DOCTYPE html>