Skip to content

Instantly share code, notes, and snippets.

@adamsdenniskariuki
Last active April 5, 2017 17:49
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 adamsdenniskariuki/3d4b5f60e50661ab5fa243b7a072ab84 to your computer and use it in GitHub Desktop.
Save adamsdenniskariuki/3d4b5f60e50661ab5fa243b7a072ab84 to your computer and use it in GitHub Desktop.
HTML and CSS Example
HTML:
<div id = “parent” >
All the content here is blue in color.
<div id = "child">
I’m Red.
</div>
</div>
CSS:
<style type = "text/css">
#parent{
color: blue;
}
#child{
color: red !important;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment