fonts awesome! v. 4.4
font-awesome (updated to Version 4.4)
HTML
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/hammer.js/1.0.5/hammer.js"></script>
<div id="bottom">
<div class="bottom-arrow-container">
<i class="fa fa-angle-up" id="bottom-arrow"></i>
</div>
<div id="fix-bot">
<p>Контейнер</p>
</div>
</div>
CSS
#bottom {
position: fixed;
width: 100%;
bottom: 0;
background: rgba(153, 0, 0, 0.8);
text-align: center;
}
#fix-bot {
height: 50px;
}
#fix-bot p {
color: #fff;
}
.bottom-arrow-container {
width: 100%;
height: 23px;
background: rgba(153, 0, 0, 0.8);
}
#bottom-arrow {
color: #fff;
font-size: 50px;
font-weight: 400;
line-height: 17px;
transition: transform linear 0.5s;
display: inline-block;
}
#bottom-arrow.toggled {
content: "\f106";
}
body {
margin: 0;
}
JavaScript
var element = document.getElementById('bottom-arrow');
Hammer(element).on("tap", function(event) {
$(this).toggleClass('toggled');
$('#fix-bot').toggle('slow');
});