Function that parses CSS styles string into JS inline style

前端 未结 0 1728
生来不讨喜
生来不讨喜 2020-11-27 21:30

I need to create a function that parses a CSS string, that will be used on a inline js style.

E.g: what I get is something like const styles = "background-

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