htmlcssinspectinspect-element

How can I solve the problem of copy/pasting the CSS property and value in inspect element both Chrome and Brave?


I recently try to Copy and Paste CSS code and this occurred this a simple copy Ctrl+c enter image description here

and this is a simple paste Ctrl+v

enter image description here

but the result looks like this:

enter image description here

is there any way to prevent this and have simple Ctrl+c and Ctrl+v?


Solution

  • use 'copy all declarations' or 'copy rule' in inspect element until they fix this issue.

    copy rule: it would copy selectors + properties + values

    copy all declarations: it would copy properties + values not selectors

    simple copy result:


    But with copy all declarations or copy rule:

    result: