下拉框
作者:
wyq_0bed | 来源:发表于
2017-07-10 15:06 被阅读0次<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="icomoon/style.css" />
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<style type="text/css">
.icon-arrow{
display: inline-block;
width: 32px;
height: 32px;
background-image: url(下拉.png);
background-size: 32px 32px;
background-repeat: no-repeat;
}
.icon-arrow:hover{
background-image: url(下拉1.png);
}
</style>
</head>
<body>
<div class="btn-group">
<!--<button type="button" class="btn btn-danger">Action</button>-->
<a type="button" class="icon-arrow" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
</a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
</body>
</html>
本文标题:下拉框
本文链接:https://www.haomeiwen.com/subject/mbayhxtx.html
网友评论