Skip to content

Instantly share code, notes, and snippets.

@EgyptianGeeks
Created March 9, 2012 16:55
Show Gist options
  • Save EgyptianGeeks/2007488 to your computer and use it in GitHub Desktop.
Save EgyptianGeeks/2007488 to your computer and use it in GitHub Desktop.
HTML & CSS: Curley Quotes
<style>
blockquote {position:relative;text-indent:2em}
.bqstart,
.bqend {font-size:300%}
.bqstart {text-indent:0;float:left;margin:-0.6em 0 -2em}
blockquote > .bqstart {position:absolute;top:-0.2em;left:0;float:none;margin:0}
.bqend {position:absolute;margin-top:-0.6em;right:0;text-indent:0}
blockquote > .bqend {margin-top:-0.2em}
</style>
<body>
<blockquote>
<span class="bqstart">&ldquo;</span>
Hello World!
<span class="bqend">&rdquo;</span>
</blockquote>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment