https://www.yaxi.net/2018-05-07/1786.html
<blockquote> 标签定义块引用。<blockquote> 与 </blockquote> 之间的所有文本都会从常规文本中分离出来,经常会在左、右两边进行缩进(增加外边距),而且有时会使用斜体。也就是说,块引用拥有它们自己的空间。
/* 雅兮网自用块引用样式样式 https://www.yaxi.net */ .post blockquote { font: 14px/20px italic Times, serif; color: #888; padding: 18px; background-color: #dddddd; border-left: 15px solid #666666; margin: 5px; background-image: url(img/quote_open.png); background-position: 15px 10px; background-repeat: no-repeat; text-indent: 23px; line-height: 1.8; } .post blockquote p { text-indent:23px; } .post blockquote p:last-child{ background-image: url(img/quote_close.png); background-repeat: no-repeat; background-position: bottom right; }
我是一段被引用的文字
blockquote { font: 16px/20px italic Times, serif; color: #333; padding: 18px; background-color: #f5f5f5; border-left: 15px solid #666666; border-radius: 5px; margin: 5px; background-image: url(../img/quote_open.png); background-position: 15px 10px; background-repeat: no-repeat; text-indent: 23px; line-height: 1.8; }