N
N
nvdfxx2021-05-13 17:53:22
Vue.js
nvdfxx, 2021-05-13 17:53:22

How to get css as text for elements with dynamic styles?

There is dynamic css, when editing these styles, you need to display them in text with the classes to which they are applied. so that it can be copied, from which side would you approach this, so that it is universal and with a minimum of hardcode classes / refs?

sandbox

Answer the question

In order to leave comments, you need to log in

2 answer(s)
0
0xD34F, 2021-05-13
@nvdfxx

one shitcode
two shitcode

W
WapSter, 2021-05-13
@wapster92

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question