前提・実現したいこと
bootsstrapまたはcssを使ってbuttonを右端に移動したい
発生している問題・エラーメッセージ
buttonの位置が変わらない
該当のソースコード
html↓
ソースコード
</header></td> </tr> </table> </div>
css↓
p, h2{
margin-bottom: 0px;
text-align: center;
line-height: 30px;
}
ul {
list-style: none;
}
.btn {
color: #fff;
background-color: #da6b64;
}
.header-in {
margin-bottom: 2rem;
}
.subtitle p {
margin-top: 16px;
font-size: 0.5rem;
font-weight: 600;
line-height: 1rem;
}
.logo img {
width: 123px;
}
.header-button {
padding: 10px 30px 10px 30px;
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 1px;
border-radius: 20px;
}
.headercontact {
text-align: right;
}
試したこと
Bootstrapのクラスml-auto,mr-autoを試してみたができなかった。
回答1件
あなたの回答
tips
プレビュー