Sublime Text
<!DOCTYPE html> <html> <head> <style type="text/css"> input[type="text"]:focus{ background-color:yellow; } input[type="checkbox"]:focus{ height: 30px; width: 30px; } </style> </head> <body> <input type="checkbox"> Nam <input type="checkbox"> Nữ<br><br> <input type="text" placeholder="Bấm vào đây"><br><br> <input type="text" placeholder="Bấm vào đây"> </body> </html>
<!DOCTYPE html> <html> <head> <style type="text/css"> input[type="text"]:focus{ background-color:yellow; } input[type="checkbox"]:focus{ height: 30px; width: 30px; } </style> </head> <body> <input type="checkbox"> Nam <input type="checkbox"> Nữ<br><br> <input type="text" placeholder="Bấm vào đây"><br><br> <input type="text" placeholder="Bấm vào đây"> </body> </html>