Simple and Nice Blockquote Styling

Submitted by:J Kamy81

Date added:23 August, 2017

Category:CSS

CSS code for Simple and Nice Blockquote Styling

Tags: blockquote , styling

Code Snippet:

blockquote {
background: #f9f9f9;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.25em;
vertical-align: -0.4em;
}
blockquote p {
display: inline;
}
 
 

Comments