日期:2014-05-17  浏览次数:20688 次

css首字母特效像报纸正文首字母突出变大

/UpLoads/images/html/20140517012231801506.jpg

?

<style type="text/css">
p:first-letter 
{
color: #ff0000;
font-size:xx-large
}
</style>


<style type="text/css">
p:first-letter
  {
  color:#ff0000;
  font-size:xx-large;
  }

p:first-line 
  {
  color:#0000ff;
  font-variant:small-caps;
  }
</style>

?

在线预览:http://www.w3school.com.cn/tiy/t.asp?f=csse_firstletter