Skip to content

Instantly share code, notes, and snippets.

@bellerus
Created July 18, 2013 19:28
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 bellerus/6032254 to your computer and use it in GitHub Desktop.
Save bellerus/6032254 to your computer and use it in GitHub Desktop.
Inheritance
/* Inheritance */
body {
background: black;
font-family: helvetica;
}
.container {
color: white;
padding: 30px;
text-align: left;
text-transform: uppercase;
}
h1 {
}
<div class="container">
<h1 class="style1 style2">Here is my fancy heading</h1>
<p>Lorem <span>ipsum</span> dolor sit amet, consectetur adipiscing elit. Vivamus sodales, nunc non ultricies auctor, justo neque vehicula mauris, quis posuere lacus lorem rhoncus sapien. Pellentesque congue dolor ultricies tellus sodales ultricies. Vivamus dignissim, magna quis posuere ultricies, justo orci porta justo, at dapibus diam lacus in felis. Ut leo nisi, varius at auctor eget, pulvinar nec ipsum. Pellentesque vel aliquam nisl, non ullamcorper eros.</p>
</div>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"200","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment