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</h2> <p>Khi bạn di chuột vào một nút , màu nền sẽ chuyển sang màu xám.</p> <p>Nếu bạn muốn một màu di chuột khác, hãy sử dụng bất kỳ lớp <strong>w3-hover-color</strong> nào:</p> <div class= "w3-bar w3-border w3-light-grey"> <a href="#" class="w3-bar-item w3-button">Mặc định</a> <a href="#" class="w3 -bar-item w3-button w3-hover-green">Liên kết 1</a> <a href="#" class="w3-bar-item w3-button w3-hover-blue">Liên kết 2</a > <a href="#" class="w3-bar-item w3-button w3-hover-teal">Liên kết 3</a> </div> </div> </body> </html>