CSSトランジションとは、CSSプロパティが変化する際のアニメーション速度を操作する
<style>
.sample {
border: 1px solid #ccc;
border-radius: 5px;
width: 150px;
height: 60px;
line-height: 60px;
font-weight: bold;
text-align: center;
color: green;
box-shadow: 20px 10px 2px #8D9EB8;
transition: 0.5s;
}
.sample:hover {
color: orange;
box-shadow: -20px 10px 5px #8D9EB8;
}
</style>
<div class="container">
<div class="sample">Sample</div>
</div>
transitionの値を2sとか0.5sとか変えると、動きも変わる。

なるほど、アニメーションの動きは、ここで制御しとるんか。