HTML & CSS クイズ: Transforms

This CSS quiz covers the transform property and its functions: translate(), rotate(), scale() and skew(). You will also check transform-origin, why the order of functions matters and the individual translate, rotate and scale properties.

やさしい 10問 約5分 合格ライン 80%

モードを選ぶ

ゲストとしてプレイ中です。ログインすると XP と連続記録が保存されます。

例題

第1問 / 全10問

What happens to the box and the elements after it?

.box { transform: translateX(50px); }
答えを見る

A. The box moves 50px right and the elements after it stay where they were Transforms are visual only: the element still takes up its original space in the layout, so neighbors do not move. Positive translateX moves to the right.

このクイズの内容

  • translate(), rotate(), scale() and skew()
  • Transforms do not change the layout around the element
  • transform-origin and the order of transform functions
  • Individual transform properties: rotate, scale, translate
  • Centering with translate(-50%, -50%)

よくある質問

アカウントは必要ですか?

いいえ、誰でも遊べます。ログインすると XP、連続記録、バッジ、履歴が保存されます。

何度でも挑戦できますか?

はい。ベストスコアが記録され、問題と選択肢は毎回シャッフルされます。