
Sometimes, you might encounter a bug where your updates wouldn’t be automatically displayed on the page. To do this, just right click on the HTML element with a state and select a new one. For example, make a button look like it’s being clicked on or hovered over.

You can quickly turn off any options using a checkbox and see the result live, or type in new values.įinally, you can even activate other HTML element states. To change colors or font sizes, open Inspect Element and make adjustments to CSS. In the same way you can change an image or animation on any webpage - just replace the current URL with the one of the new image or GIF.
#Inspect element chrome mac code
#Inspect element chrome mac how to
When you know how to Inspect Element on Mac, you get the superpower of being able to temporarily change any website element. How to make website changes with Inspect Element Otherwise, you can Inspect Element on Chrome just the same way - by right-clicking on any part of a webpage. The Firefox Inspect Element shortcut is Option + ⌘ + I, and you can also right-click on any element to Inspect.Ĭhrome inspector can be found in View ➙ Developer in the menu bar or with a shortcut of Option + ⌘ + I. If you want to open a Safari Inspect Element option on something specific within the page, you can right-click on it and select Inspect Element.įirefox and Google Chrome work similarly but already have the Inspect Element pre-enabled.

Use Show Page Source ➙ Elements to display all the website code and if you point your cursor to a specific section it’ll get highlighted in the browser as well. Safari, in some ways, is the least Inspect Element-friendly browser as it doesn’t even show you this option right from the start - you have to enable Inspect Element first:Īfter that, you’ll get access to Safari dev tools in the menu bar (called Develop), where you can find Show Page Source (Option + ⌘ + U).
#Inspect element chrome mac mac
So let’s see how to use Inspect Element on Mac in a variety of browsers and touch on a few more reasons for why it’s a good idea to do so. Since websites are just code visualizations that happen in the browser, there is one special option called Inspect Element that lets you not only peek into the underlying code but also make temporary tweaks and test how the website could look with some reversible changes. Webpages we see belong in the browser, whereas webpage building happens primarily in a text editor.īut it’s not quite like that. It’s hard to imagine that these two worlds can interact. code and design) that was done in the background. We’re used to the notion that websites are just graphical, user-facing representations of all the work (e.g.

Make your Mac fast and secure with CleanMyMac X.
