CSS 이동
by JM note
HTML
<style>
.box1 {
position: absolute;
left: 0;
width: 150px; height: 150px;
background: red;
transition: 1.5s;
}
.box1:hover {
left: 300px;
}
</style>
<div class='box1'></div>
by JM note
<style>
.box1 {
position: absolute;
left: 0;
width: 150px; height: 150px;
background: red;
transition: 1.5s;
}
.box1:hover {
left: 300px;
}
</style>
<div class='box1'></div>