gpt4 book ai didi

html - css:更简单的写法:div.markup h1,div.markup h2,div.markup h3{color:#f00;}?

转载 作者:太空宇宙 更新时间:2023-11-04 00:30:03 26 4
gpt4 key购买 nike

有没有更简单的写法?

<style type=text/css>
div.markup h1,div.markup h2,div.markup h3,div.markup h4{color:#f00;}
</style>

最佳答案

恐怕答案是否定的。能够执行 div.markup (h1,h2,h3,h4) 会很好,但当前规范不允许这样做。

关于html - css:更简单的写法:div.markup h1,div.markup h2,div.markup h3{color:#f00;}?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4603305/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com