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?

有帮助吗?

解决方案

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top