以 mailchimp 形式居中输入
centering input in form mailchimp
我在将输入内容居中时遇到问题[type="submit"]。
我也在我的网站上使用 bootstrap。
我尝试了很多方法,但似乎没有任何效果。有人可以帮我解决这个问题吗?
.centerButton{
max-width: 700px;
text-align: center;
position: relative;
}
.btnsubmit{
border-radius: 5px;
height: 60px;
color: white;
background-color: #60C3AD;
border: none;
font-family: 'Arial', sans-serif;
font-weight: lighter;
font-size: 16px;
text-align: center;
cursor: pointer;
margin-bottom: 15px;
}
检查下面的内容 link 你在中心有一个按钮,就像你想要的那样。
<div id='toolbar'>
<div class='text-center'>
<div class="btn">
<input type="button" class="btn btn-default"/>
</div>
</div>
我在将输入内容居中时遇到问题[type="submit"]。 我也在我的网站上使用 bootstrap。 我尝试了很多方法,但似乎没有任何效果。有人可以帮我解决这个问题吗?
.centerButton{
max-width: 700px;
text-align: center;
position: relative;
}
.btnsubmit{
border-radius: 5px;
height: 60px;
color: white;
background-color: #60C3AD;
border: none;
font-family: 'Arial', sans-serif;
font-weight: lighter;
font-size: 16px;
text-align: center;
cursor: pointer;
margin-bottom: 15px;
}
检查下面的内容 link 你在中心有一个按钮,就像你想要的那样。
<div id='toolbar'>
<div class='text-center'>
<div class="btn">
<input type="button" class="btn btn-default"/>
</div>
</div>