Untitled
<!DOCTYPE html> <html> <head> <style> div { height: 100px; width: 100px; border-width:1px; border-style:solid; transition-property: height, width; transition-duration: 1s; transition-timing-function: linear; transition-delay:0s; } div:hover { height: 200px; width: 200px; } </style> </head> <body> <div> <p> Hover over this div and wait to see the changes </p> </div> </body> </html>
Leave a Comment