Đang chọn gợi ý…
Chọn ngẫu nhiên một nội dung dành cho bạn.
Mở ngay →Convert between px / rem / em / pt / % / vw / vh in CSS. Adjustable base font-size and viewport. Perfect for design systems and responsive layouts.
CSS Unit Converter — switch between px / rem / em / pt / % / vw / vh. Useful for design systems and responsive layouts.
rem is relative to the <html> root font-size. em is relative to the parent element. Default browser is 16px.
<html> font-size (default 16px). Best for font-size and spacing — scales when users change their default font.p-4 = 1rem = 16px by default.html { font-size: 14px } — the conversion updates instantly.Frontend devs, UI/UX designers, anyone prototyping visuals fast or generating CSS for Tailwind/React/Vue projects.
Yes. Output is vanilla CSS, paste into any .css file. For Tailwind projects, use @utilities layer or theme overrides.
Modern CSS syntax (custom properties, grid). Works on Chrome/Firefox/Safari 2020+. IE11 NOT supported.
Pick HEX/RGB/HSL, RGB sliders, 12 presets, nearest Tailwind name.
NEWVisual builder for CSS animations. 10 presets (fadeIn, bounce, pulse, spin, shake…). Tweak duration, easing, iteration.
NEWVisual builder for CSS filters — blur, brightness, sepia, hue-rotate, drop-shadow. 8 presets (Vintage, Polaroid, Noir…).
NEWGenerate harmonious palettes from a base color (HSL theory). 6 schemes: Monochromatic, Analogous, Complementary, Triadic… + 10 shades.