开发者

How to implement temporary edits

In the chrome developer tools here,

How to implement temporary edits

You can double click and edit these properties,

After editing, if I want my chrome extension to change 'padding-left' to 16px I use this line:

$('.tsf-p').css('padding-left', '16px');

What code would I use 开发者_StackOverflow中文版to change the position field to inherit?


$('.tsf-p').css({ 'padding-left': '16px', 'position': 'inherit' }); should do it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜