我想創建HTML的SNIPPIT它看起來像這樣:不顯示BLOCKQUOTE和背景中的HTML
我已經寫了一些代碼,但背景,斜體,以及左側報價顯示不正確。以下是我已經試過:
mission blockquote.style1 {
font: 14px/20px italic;
padding: 8px;
background-color: #000000;
border-top: 1px solid #e1cc89;
border-bottom: 1px solid #e1cc89;
margin: 5px;
background-image: url(../images/openquote1.gif);
background-position: top left;
background-repeat: no-repeat;
text-indent: 23px;
}
.mission blockquote.style1 span {
display: block;
background-image: url(images/openquote1.gif);
background-repeat: no-repeat;
background-position: bottom right;
}
<div class=""mission>
<h2>Mission</h2>
<hr>
<blockquote>
<p class="style1">
<span>Our mission is to grow with our customers by providing quality products,timely delievery & personalised services</span>
</p>
</blockquote>
</div>
\t