Created
June 29, 2020 16:25
-
-
Save agustinpfs/71dea0acf216c3cba9810112422f3a08 to your computer and use it in GitHub Desktop.
Ejemplo Unidades de Medida CSS
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"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Unidades de medida CSS</title> | |
<style> | |
p { | |
font-size: 2em; | |
width: 90vw; | |
background-color: coral; | |
} | |
span { | |
font-size: 1rem; | |
} | |
div{ | |
width: 75%; | |
background-color: cornflowerblue; | |
height: 300px; | |
} | |
</style> | |
</head> | |
<body> | |
<div> | |
<p>Lorem, isum dolor sit <span>amet</span> consectetur adiisicin.</p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment