Created
September 9, 2015 12:18
-
-
Save manxisuo/86769ad021a65b931bd6 to your computer and use it in GitHub Desktop.
用于blockquote(即引用)的一个比较好的样式
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 引用样式 */ | |
blockquote { | |
background: #f9f9f9; | |
border-left: 10px solid #ccc; | |
margin: 1.5em 10px; | |
padding: .5em 10px; | |
quotes: "\201C""\201D""\2018""\2019"; | |
} | |
blockquote:before { | |
color: #ccc; | |
content: open-quote; | |
font-size: 4em; | |
line-height: .1em; | |
margin-right: .25em; | |
vertical-align: -.4em; | |
} | |
blockquote p { | |
display:inline; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment