gpt4 book ai didi

jquery - 如何使用 jquery 设计两类 css

转载 作者:太空宇宙 更新时间:2023-11-04 01:33:51 25 4
gpt4 key购买 nike

我试图在不使用 file.css 的情况下插入一个 css 样式,而是使用 file.js 然后通过 jquery,你能帮我吗?

  $( document ).ready(function(){
$( ".ytp-gradient-top", ".ytp-gradient-bottom" ).css({
"border": "3px solid red"
)};
)};

最佳答案

$( ".ytp-gradient-top, .ytp-gradient-bottom" ).css( 
"border" , "3px solid red"
);

关于jquery - 如何使用 jquery 设计两类 css,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46607814/

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