Created
June 12, 2020 15:08
-
-
Save agustinpfs/7f5c3ed97d3248f1821be286e2382786 to your computer and use it in GitHub Desktop.
CSS básico. Transiciones.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Transiciones</title> | |
<style> | |
div { | |
width: 100px; | |
height: 100px; | |
background: blue; | |
transition: 2s; | |
} | |
div:hover { | |
width: 200px; | |
height: 200px; | |
} | |
</style> | |
</head> | |
<body> | |
<div></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment