官术网_书友最值得收藏!

  • Mastering CSS
  • Rich Finelli
  • 154字
  • 2021-07-08 09:45:50

How to open developer tools

To open up Chrome's DevTools, all you need to do is right-click or Ctrl + click on any part of the page. You'll get a contextual menu, as shown in the following screenshot. When you select the Inspect Element option, you get a whole new world of techie goodness:

What typically happens is DevTools will occupy the lower half of your screen. As you can see in the following screenshot, on the left-hand side, you have your HTML as rendered by the browser, technically referred to as the DOM. On the right-hand side, you will have all your styles:

If you hover over something on the left-hand side, it gets highlighted at the top. So, if you hover over h2 or click on it, it gets highlighted, as you can see in the following screenshot:

If you hover over <section> or click on it, it gets highlighted at the top:

主站蜘蛛池模板: 镇远县| 镇宁| 宜丰县| 凯里市| 山东省| 隆林| 天门市| 岳西县| 安岳县| 昌都县| 闸北区| 六安市| 文化| 翼城县| 新丰县| 云安县| 襄樊市| 岑溪市| 安顺市| 张家界市| 仁寿县| 永丰县| 新沂市| 龙口市| 赤峰市| 镇原县| 永城市| 海原县| 谷城县| 革吉县| 霍州市| 天长市| 沂水县| 黄大仙区| 开原市| 锡林浩特市| 陇南市| 元朗区| 秭归县| 鄱阳县| 和硕县|