Sublime Text
<!DOCTYPE html> <html> <head> <style type="text/css"> input[type="text"]:disabled{ background-color:#ddd; } input[type="checkbox"]:disabled{ height: 30px; width: 30px; } </style> </head> <body> <input type="text"><br><br> <input type="text" disabled><br><br> <input type="checkbox"> Nam<br> <input type="checkbox" disabled> Nữ </body> </html>
<!DOCTYPE html> <html> <head> <style type="text/css"> input[type="text"]:disabled{ background-color:#ddd; } input[type="checkbox"]:disabled{ height: 30px; width: 30px; } </style> </head> <body> <input type="text"><br><br> <input type="text" disabled><br><br> <input type="checkbox"> Nam<br> <input type="checkbox" disabled> Nữ </body> </html>