gpt4 book ai didi

html - 在html中前后定义伪元素?

转载 作者:行者123 更新时间:2023-11-28 17:41:11 26 4
gpt4 key购买 nike

<分区>

是否可以在 html 容器中为伪元素定义样式?有点像

 <div style=":after{background:red}">

背景图像将被动态定义,所以我需要将样式放在 html 中。

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