phillip swag phillip swag - 2 months ago 10
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.

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

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

Try this. It will create pseudo element.

Working Fiddle: https://jsfiddle.net/eh4m6pmz/