开发者社区> 问答> 正文

元素float后border的问题?

有如下代码

Holmes stretchespand out his hand for the manuscript and flattened it upon

    his knee. “You will observe, Watson, the alternative use of the 
    long<p>

当对第一个字母应用样式时:

p::first-letter {

font-family:times, serif; 
font-size: 90px; 
float:left; 
border:1px solid; 

}
如图:
screenshot

展开
收起
a123456678 2016-05-27 17:30:42 2184 0
1 条回答
写回答
取消 提交回答
  • screenshot

    2019-07-17 19:18:26
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Top 5 mistakes when wriiting a 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载