css blockquote實現引用效果

來源:互聯網
上載者:User

blockquote 下面加了一個 div 標籤,然後為各自訂一個背景圖片,設定好 padding 即可實現引用塊(Blockquote)效果。

執行個體

 代碼如下 複製代碼

<style type="text/css">
blockquote {

background: transparent url(quoleft.gif) left top no-repeat;

}

blockquote div {

padding: 0 40px;

background: transparent url(quoright.gif) right bottom no-repeat;

}
</style>
<blockquote cite="http://www.111cn.net">

<div>

css引用

</div>

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.