Skip to content

Instantly share code, notes, and snippets.

Created April 10, 2014 17:05
Show Gist options
  • Save anonymous/10402659 to your computer and use it in GitHub Desktop.
Save anonymous/10402659 to your computer and use it in GitHub Desktop.
Nested quote demo for Xichen Li
/**
* Nested quote demo for Xichen Li
* http://stackoverflow.com/q/22986796/33732
*/
body {
font-family: 'Times';
}
blockquote {
background-color: #eee;
border-left: 3px solid;
border-right: 3px solid;
color: blue;
border-color: blue;
padding: 0.6em 0.9em 0.3em;
margin: 0 0 0.3em;
}
blockquote > blockquote {
color: green;
border-color: green;
}
blockquote > blockquote > blockquote {
color: #b22;
border-color: #b22;
}
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
Peter says:<br/>
Peter says:
</blockquote>
Jane says:<br/>
Jane says:
</blockquote>
Peter says:<br/>
Peter says:
</blockquote>
Jane says:<br/>
Jane says:
</blockquote>
Peter says:<br/>
Peter says
</blockquote>
Jane says:<br/>
Jane says:
</blockquote>
Peter says:</br>
Peter says:
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment