【週刊ドットインストール】 Figma入門を制作中、256timesの新クラスを企画中
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; }