Skip to content

Instantly share code, notes, and snippets.

@agustinpfs
Last active July 6, 2020 14:20
Show Gist options
  • Save agustinpfs/05e9806676a9585ea42f72f6479382cb to your computer and use it in GitHub Desktop.
Save agustinpfs/05e9806676a9585ea42f72f6479382cb to your computer and use it in GitHub Desktop.
Sintaxis CSS
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Sintaxis css</title>
<style>
h1 {
color: red;
}
/* "h1" es el selector, indica el o los elementos a los cuales queremos aplicarles los estilos.
"color" es la propiedad.
"red" es el valor.
"color: red" es la declaración. */
</style>
</head>
<body>
<h1>Hola CSS</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment