a {
position: relative;
top: 100px;
right: -100px;
background-color: wheat;
color: tomato;
padding: 10px;
text-decoration: solid;
font-size: 100px;
border-radius: 50px;
transition: all 3s ease-in-out;
}
a:hover {
border-radius: 1000px;
color: yellow;
background-color: brown;
padding: 40px;
font-size: 200px;
top: 500px;
}
transition 은 상태에 따라 바뀌는 요소가 있을때 사용
ex) hover, active, focus ...
cubic-bezier(0, 0, 0, 0); 으로 직접 설정할수도 있다.