我試圖讓我的圖標出現在我的音頻播放器的左側(最後)。內聯塊不起作用。甚至在JSfiddle中也沒有。有什麼建議麼?如何正確顯示html音頻播放器左側的圖標?
我很感激!
當前的代碼/ CSS我(的jsfiddle):
http://jsfiddle.net/qMdfC/620/
的CSS
.socials-paypal i {
width: 37px;
height: 37px;
float:left;
-webkit-border-radius: 50%;
border-radius: 50%;
background-color: #1b1b1b;
color: #dbdbdb;
line-height: 37px;
text-align: center;
font-size: 14px;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
源
<body>
<div>
<h1 class="text-center">'Zel</h1><br>
<audio src="audioplayer/audio/letmeknow.mp3" controls>
Your browser does not support the audio element.
</audio>
<div class="socials-paypal">
<a href="facebook.com/TheRealZellyZel"><i class="fa fa-paypal"></i></a>
<a href="Twitter.com/TheRealZellyZel"><i class="fa fa-twitter"></i></a>
<a href="Twitter.com/TheRealZellyZel"><i class="fa fa-twitter"></i></a>
<div class="footer-socials"></div>
舉動''以上社交audio',paypal' DIV? – kukkuz