我使用下面的CSS一個段落之前加開報價:CSS開報價顯示1個引號
blockquote {
padding: 22px;
quotes: "\201C""\201D""\2018""\2019";
font-size: 15px;
}
blockquote:before {
color: #111;
content: open-quote;
font-size: 4em;
line-height: 0;
vertical-align: -0.4em;
}
當我添加兩個以上的引用文字,他們只顯示1引號。我想要顯示2 "
。我無法弄清楚爲什麼會發生這種情況。例如,請參閱jsfiddle。
謝謝!這工作:)我不認爲有必要重複':after'選擇器中的blockquote樣式。 – CyberJunkie 2014-08-31 03:38:14
爲了將來的參考,這個頁面顯示了一個更簡單的方法,使用'blockquote:after {content:no-close-quote}' - http://webdesign.tutsplus.com/articles/start-using-quotation-marks-the-正確的方式 - 網頁設計 - 16905](http://webdesign.tutsplus.com/articles/start-using-quotation-marks-the-correct-way--webdesign-16905) – jtotheh 2015-09-01 15:45:11
@jtotheh謝謝分享,但鏈接似乎破了 – 2015-09-05 16:49:10