开发者社区 问答 正文

css after 插入图片,怎么设置内容高度

screenshot
或者用其他方法实现效果也行

展开
收起
杨冬芳 2016-06-01 11:25:55 2463 分享 版权
1 条回答
写回答
取消 提交回答
  • IT从业
    .nav ul li:after{display: block; content:"";width: 2px;height: 45px;content: url(../img/nav_fg.png);}
    2019-07-17 19:22:59
    赞同 展开评论