我正在使用 angular2。
我想使用 style="background-image : url("the url from the cloudinary")"
page.html
<div>
<cl-image public-id = xyz.jpg>
<cl-image>
<div>
最佳答案
您可以通过 URL 操作来实现这一点,例如在你的 css/scss 文件中使用:
background-image: url('path-to-cloudinary-image')
关于html - 如何在 cloudinary 标签中使用背景图片样式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47882857/