Created
July 30, 2014 10:45
-
-
Save charlesroper/31e44472bb89ff417b7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blockquote::before { | |
content: attr(data-before-quote); | |
letter-spacing: -.15em; | |
} | |
blockquote::after { | |
content: attr(data-after-quote); | |
margin-left: -.15em; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="How to do simple quotes" /> | |
<meta charset="utf-8"> | |
<title>Cute Quotes</title> | |
</head> | |
<body> | |
<blockquote id="quote" | |
data-before-quote="“" | |
data-after-quote="”"> | |
This is a quote. | |
</blockquote> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment