Skip to content

Instantly share code, notes, and snippets.

@DavidPeralvarez
Created March 29, 2018 13:35
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 DavidPeralvarez/60262a720857a1baefc881d2a02625cd to your computer and use it in GitHub Desktop.
Save DavidPeralvarez/60262a720857a1baefc881d2a02625cd to your computer and use it in GitHub Desktop.
(CSS) Selectores de ID y de CLASE en CSS
header{
text-align: center;
}
#big-title{
font-size: 60px;
margin: 30px 0 0 0;
}
#subtitle{
font-style: italic;
margin: 0;
}
.featured{
margin: 20px 60px;
padding: 30px 60px;
background-color: #ccc;
}
.featured-title{
font-size: 30px;
margin: 0;
}
.featured-excerpt{
font-size: 18px;
}
.news{
margin: 10px 60px;
padding: 20px 60px;
border: 1px solid #ccc;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment