18910140161

用于更改CSS-Stack溢出的HTML-VUEJS事件处理程序

顺晟科技

2022-10-19 13:22:36

184

我试图用VUEJS做一个改变背景的输入。我只想显示背景的url,而不是整个CSS。我试图获取的CSS是:

linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('--BACKGROUND LINK--') no-repeat center center fixed

JS为:

linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('--BACKGROUND LINK--') no-repeat center center fixed

CSS变量为


顺晟科技:

找到了!不需要CSS

linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('--BACKGROUND LINK--') no-repeat center center fixed
  • TAG:
相关文章
我们已经准备好了,你呢?
2024我们与您携手共赢,为您的企业形象保驾护航