2017-07-16 56 views

回答

0
plus { 
    display: block; 
    position: relative; 
    margin: auto; 
    margin-top: -50px; 
} 

HTML例如:

<div class="panel">...</div> 
<a class="plus" href="#plus"></a> 

或作为显示使用:内联块和设置文本对齐:中心到父DIV。 您也可以使用: 如果按键宽度250像素 - 使用125px

position: absolute; 
bottom: 10px; 
left: 50%; 
margin-left: -125px; 
+0

你不介意的图像编码为我好吗? – arnold

+0

https://jsfiddle.net/g646eb58/ –

相关问题