Sublime Text
<!DOCTYPE html> <html> <head> <title>Xem ví dụ</title> <style type="text/css"> div{ background-color:green; width:50px; height:50px; transition:width 5s; } div:hover{ width:400px; } </style> </head> <body> <div></div> </body> </html>
<!DOCTYPE html> <html> <head> <title>Xem ví dụ</title> <style type="text/css"> div{ background-color:green; width:50px; height:50px; transition:width 5s; } div:hover{ width:400px; } </style> </head> <body> <div></div> </body> </html>