Skip to content

Instantly share code, notes, and snippets.

@agustinpfs
Created June 29, 2020 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agustinpfs/71dea0acf216c3cba9810112422f3a08 to your computer and use it in GitHub Desktop.
Save agustinpfs/71dea0acf216c3cba9810112422f3a08 to your computer and use it in GitHub Desktop.
Ejemplo Unidades de Medida CSS
<!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