【週刊ドットインストール】 Figma入門のレイアウト編がもうすぐリリース、レッスン一覧を改修
body{ padding: 64px; } .box{ width: 100px; height: 100px; background-color: orange; /* transition-property: transform, background; */ transition-duration: 1s; } .box:hover{ transform: translateX(30px); background: skyblue; }