我不知道为什么你的本地浏览器不显示正确的设计。在我的Firefox中45.0.2一切都很好。
你是否确定你的代码是平等的?
<html>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.1/css/font-awesome.css">
<head>
<style type="text/css">
body{
background-color: #e3e4e5;
}
.drp-down-btn{
margin: 20px;
height: 40px;
background-color: #fff;
display: inline-block;
padding: 4px;
width: 150px;
}
.fa-caret-down{
line-height: 40px;
}
.btn-text{
line-height: 40px;
}
</style>
</head>
<body>
<div class="drp-down-btn">
<span class="btn-text"> My caption</span>
<i class="fa fa-lg fa-caret-down" style="vertical-align:baseline;float:right;"></i>
</div>
</body>
</html>
你是对的,男人......'fa-caret'行高被覆盖.. –
很高兴帮助;) –