Skip to content

Instantly share code, notes, and snippets.

@agustinpfs
Last active June 29, 2020 11:05
Show Gist options
  • Save agustinpfs/165a7479c113901a576e7c30ca8f6989 to your computer and use it in GitHub Desktop.
Save agustinpfs/165a7479c113901a576e7c30ca8f6989 to your computer and use it in GitHub Desktop.
Selector CSS de clase
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Selector de clase</title>
<style>
.rojo{
color:red
}
</style>
</head>
<body>
<h1 class="rojo">Hola mundo</h1>
<p class="rojo">párrafo2</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment