Quiz 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.

Dễ 10 câu hỏi ~5 phút Đạt từ 80%

Chọn chế độ

Bạn đang chơi với tư cách khách: đăng nhập để lưu XP và streak.

Câu hỏi mẫu

Câu 1/10

What happens to the box and the elements after it?

.box { transform: translateX(50px); }
Xem đáp án

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.

Quiz này có gì

  • 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%)

Câu hỏi thường gặp

Có cần tài khoản không?

Không. Ai cũng chơi được. Đăng nhập để lưu XP, streak, badge và lịch sử.

Có làm lại được không?

Được. Điểm cao nhất của bạn được giữ lại, câu hỏi và đáp án được xáo trộn mỗi lần.