Currently attempting to customize the appearance of a blockquote to match this design:
However, it currently appears like this:
(it should not have any white spaces at the beginning)
The code I'm using
<blockquote><p>Lorem ipsum...</p></blockquote>
blockquote {
margin: 1em 2em;
border-left: 1px solid #999;
padding-left: 1em; }
blockquote:before {
content: open-quote;
font-size: 6em;
line-height: 0px;
margin: 0px 5px 0px -40px;
vertical-align: bottom;
position: relative; left: -15px;
}
blockquote p:first-letter {
margin: .2em .3em .1em 0;
font-size: 220%;
}
/* without unnecessary font type/color attributes*/
Struggling to find an alternative solution that is more reliable and adapts well to different window sizes - ideally using pure CSS. Do you have any suggestions to eliminate unnecessary spacing?