简体   繁体   中英

How does the Chrome Developer Tool “Properties” section help with CSS/JavaScript development?

How does the Chrome Developer Tool "Properties" section help with CSS/JavaScript development?

In the screenshot it shows blur , contains , focus , etc.

I don't know what you can do with these.

替代文字

It's showing you exactly which JavaScript functions are included in that element's prototype (the functions that you can call on that element).

It helps when you're trying to figure out exactly how you can solve a specific problem but you're not sure exactly what JavaScript functions you have available to you.

Speaking about css, i found the dev tool to be very very usefull. I use it to debug my css code and check whatever an element inherited a class that doesn't mean to be there. I never used it for javascript code, except for random errors i couldn't solve by myself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM