view raw
phillip swag phillip swag - 8 months ago 38
CSS Question

How do I make it so that this blockquote has a double quotation mark before and after the text?

Struggling on this a bit. Just needed some help adding the double quotation. I need it to double quote just the paragraph in the block quote.

blockquote {
background-color: rgb(131, 121, 36);
color: white;
font-size: 16px;
font-family: Comic Sans MS, Times New Roman, cursive;

blockquote:before, blockquote:after {
    content: '"';

Try this. It will create pseudo element.

Working Fiddle: