G
G
Gagatyn2020-12-12 00:50:12
React
Gagatyn, 2020-12-12 00:50:12

Is it possible to copy html markup with styles to the clipboard?

React, Styled-component, module css

For example, a product card or a game card is created. Jsx or html format, styles are present in separate css/sass/less files or are created next to the component using styled-components. The card has a fill, image, text, icons, buttons...
Is it possible to copy the markup of the card and its styles using js, React, Styled-component, module-css?
Tell me how to implement copying to the clipboard?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question