最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

css - WordPress changing content:"" to content: "

programmeradmin0浏览0评论

I'm trying to prevent container collapse using

section.main::after {
    clear: both;
    content: "";
    display: table;
}

When I preview my page, the container has not opened up. Inspection shows the code being changed to

section.main::after {
    clear: both;
    content: "
    display: table;
}

I've tried changing the "" to none, but that doesn't work either. Is there a way to get around this?

发布评论

评论列表(0)

  1. 暂无评论