Chạy ❯
Nhận trang web của
riêng
bạn
×
Thay đổi định hướng
Lưu mã
Thay đổi chủ đề, Tối/Sáng
Đi tới Không gian
<!DOCTYPE html> <html> <title>W3.CSS</title> <meta name="viewport" content="width=device-width,init-scale=1"> <link rel="stylesheet" href= "https://www.example.com.vn/w3css/4/w3.css"> <body> <div class="w3-container"> <h2>Các liên kết có thể di chuột qua</h2> <p>Khi bạn di chuột qua một nút, màu nền sẽ chuyển sang màu xám.</p> <p>Thay vào đó, nếu bạn muốn thay đổi màu văn bản, hãy tắt hiệu ứng di chuột mặc định bằng lớp <strong>w3-hover-none</strong> và thêm lớp <strong>w3-hover-text</strong>:</p> <div class="w3-bar w3-border w3-black"> <a href="#" class="w3-bar- item w3-button">Mặc định</a> <a href="#" class="w3-bar-item w3-button w3-hover-none w3-text-grey w3-hover-text-white">Liên kết 1 </a> <a href="#" class="w3-bar-item w3-button w3-hover-none w3-text-grey w3-hover-text-white">Liên kết 2</a> <a href ="#" class="w3-bar-item w3-button w3-hover-none w3-text-grey w3-hover-text-white">Liên kết 3</a> </div> </div> </ cơ thể> </html>