Created
March 29, 2018 13:38
-
-
Save DavidPeralvarez/830e17bca3db5af2f2a9032ac3387314 to your computer and use it in GitHub Desktop.
(CSS) Selectores descendientes en 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
body{ | |
background-color: #f2f2f2; | |
width: 960px; | |
margin: 0 auto; | |
} | |
.post{ | |
background-color: white; | |
padding: 20px; | |
} | |
.post h1{ | |
margin: 0 0 10px; | |
font-size: 64px; | |
} | |
.post h2{ | |
margin: 0 0 20px; | |
font-size: 32px; | |
} | |
.post h3{ | |
font-size: 24px; | |
} | |
.post p{ | |
font-size: 18px; | |
} | |
.post p strong{ | |
color: #0084ff; | |
} | |
.post ul li{ | |
font-size: 18px; | |
} | |
#main-footer{ | |
background-color: #333333; | |
padding: 30px; | |
} | |
#main-footer p{ | |
margin: 0; | |
color: white; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment