안녕하세요, 저는이 주제가 여러 번 요청되었으며 포럼 검색을 통해 여러 가지 해결책을 찾았습니다. 등과 같은버튼을 오른쪽으로 정렬하는 방법은 무엇입니까?
그러나 솔루션 <input type="button" value="Click Me" **style="float: right;"**>
,
.
.button {
border-radius: 4px;
background-color: #0FA0FF;
border: none;
color: #FFFFFF;
text-align: center;
font-size: 15px;
padding: 10px;
width: 200px;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
.containers-fluid {
padding: 20px 50px;
background-color: #000000;
color: white;
}
<button class="button"><span>Proceed to Next Lesson </span>
</button>
<footer class="containers-fluid text-center">
</footer>
고마워 이제는 앞으로이 기능을 자주 사용하게 될 것입니다. –