因爲樓主是做電子書,上一篇的着重號在epub電子書裏顯示不出來.(雖然在火狐瀏覽器完美呈現),後在一個大神的幫助下,完美實現了加着重號.在ie爲內核的瀏覽器都能完美呈現.電子書也完美呈現.
好東西,值得分析.我就把這個樣式分享出來.希望能夠幫助到更多的人,讓大神的精神傳承下去.
/*重點標記----*/
/*圓點*/
span.emphasis-dot {
text-emphasis-style:dot;
text-emphasis-color:#f75555;
text-emphasis-position:under;
-webkit-text-emphasis-style:dot;
-webkit-text-emphasis-color:#000;
-webkit-text-emphasis-position:under;
}
/*實心圓*/
span.emphasis-circle {
text-emphasis-style:circle;
text-emphasis-color:#000;
text-emphasis-position:under;
-webkit-text-emphasis-style:circle;
-webkit-text-emphasis-color:#000;
-webkit-text-emphasis-position:under;
}
/*實心三角*/
span.emphasis-triangle {
text-emphasis-style:triangle;
text-emphasis-color:#000;
text-emphasis-position:top;
-webkit-text-emphasis-style:triangle;
-webkit-text-emphasis-color:#000;
-webkit-text-emphasis-position:under;
}
/*字符*/
span.emphasis-word {
text-emphasis-style:'D';
text-emphasis-color:#000;
-webkit-text-emphasis-style:'D';
-webkit-text-emphasis-color:#000;
}
/*----結束*/
再次感謝大神的幫助和分享.
爲大神點個贊吧.