1. CSS cơ bản dành cho responsive video: /* Đảm bảo padding 0 và box-sizing phù hợp */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; background: #000; color: #fff; padding: 10px; } /* Container cho video */ .video-container { position: relative; width: 100%; padding-bottom: 56.25%; /* Tỷ lệ 16:9 */ height: 0; overflow: hidden; } /* iframe video Youtube */ .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; } /* Responsive text và layout */ h1, h2, h3, p { font-size: 1rem; line-height: 1.5; } /* Tùy chỉnh thêm cho màn hình nhỏ */ @media (max-width: 768px) { body { font-size: 14px; padding: 8px; } h1 { font-size: 20px; } } 2. HTML mẫu tương ứng: Bạn cần đảm bảo rằng iframe YouTube nằm trong .video-container như sau: