binding to html style with a css variable. example [style.background]=“'var(--accent-1)'”

后端 未结 0 1419
小蘑菇
小蘑菇 2020-12-30 00:14

My CMS allows hex values to dynamically style html elements. for example if the value of bgColor is #fff then i can use the following html to set i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题