Last active
June 29, 2020 11:05
-
-
Save agustinpfs/165a7479c113901a576e7c30ca8f6989 to your computer and use it in GitHub Desktop.
Selector CSS de clase
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>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