ORA·techORA·tech

Learn fast · Interview fast

Interview prep
Explore
  • Home
    • Overview
    • Question library
    • Interview sprint
    • Mock interview simulator
    • Memory review
    • Leaderboard
    • Free vs Pro
  • Tools
  • Dev Document
  • AI
  • Feedback
  • Generic Security
  • ISMS
ORA·tech
⌘K
20' interview
Sign in
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
anonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·techanonymous · 23:06 3/6/26 · ORA·tech
2026 ORA Team·Built with ❤️ for fast learners·Privacy·Terms·version f5e8cbb6
Library/Frontend/CSS
Easy#css

Phân biệt các đơn vị px, em, rem, %, vw, vh trong CSS và khi nào nên dùng?

February 15, 2026

Quick summary

`px` is a fixed absolute unit; `em`/`rem` scale with typography; `%`/`vw`/`vh` scale with the viewport or parent layout. For optimal responsiveness and accessibility, use `rem` for font sizes, `px` for borders, and dynamic viewport units (`dvh`/`svh`) for mobile layouts.

Sample answer:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.

Pro content

Unlock all Medium & Advanced questions with detailed answers.

Upgrade to Pro
Back to topic