Frage

For some reason, i'm not able to paste css code to the "inspect element" window..

Lets say I want to test "font-weight:bold; color: red" and paste it to the element.style, which results with:

As you can see, only the "font-weight" was pasted.

This is really annoying as I was used to just paste the code as is... Especially if i'm trying a couple of styles from a tutorial or a solution to a problem I found here.

Is it only me? Anything I can do to fix it?

War es hilfreich?

Lösung

Andere Tipps

You could always edit the style in-line for testing:

Right click tag. Click 'add attribute'. Type style=" ctrl+ v "

Not sure if there's a more elegant solution. element.style just adds a style="" attribute anyway.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top