I don't use a CSS preprocessor for my blog, and so the code I ended up with looks like this:
blockquote.quote {
position: relative;
}
blockquote.quote::before {
content: '\201C';
position: absolute;
left: -0.3em;
top: -0.2em;
color:#ccc;
font-size: 6em;
z-index: -1;
}
blockquote.quote footer {
font-size: 0.9em;
color:#999;
padding-left: 1em;
}
blockquote.quote footer::before {
content: '\2015';
}
So much of my blog is about quoting things, it's nice to have a flexible way of showing that it's not me speaking.
No comments:
Post a Comment