用jquery实现左移,右移,全部左移,全部右移按钮
代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
select,div{
display: inline-block;
}
.btn-group{
position:relative;
top:-100px;
overflow: hidden;
}
button{
display: block;
margin:10px 0;
width: 80px;
height: 40px;
}
select{
height: 400px;
width: 220px;
}
option