Utilize Firefox Developer Tools to Visualize CSS Grid Styles

Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 4 years ago

For this lesson, you will need to install Firefox Browser Developer Edition to use the CSS Grid dev tools available within the browser.

Once installed, you can right-click on your HTML page, hit inspect, and look over to the right side of the tools. There is a grid section that you can open that will let you visualize your CSS Grid in a helpful way as you continue developing your app. This is great for troubleshooting if you don't know why your grid is misaligned.

Instructor: [0:01] Go to mozilla.org, and download the Firefox Developer Edition. It has great developer tools to help you visualize the CSS grid. Once installed, open the index.html page for this lesson with Firefox Developer Edition and right-click Inspect Element.

[0:18] Find grid, usually situated on the right side, and check the div.container under overlay grid. You can change the color to something that's highly visible. Now you can see the grid elements and the grid gaps. When you go into the code in the developer tools and begin clicking on the code, you can see which line of code gives you each grid element and what its dimensions are.

[0:40] Aside from being a very good visualization tool to see how your CSS grid is constructed, it's also a great tool for troubleshooting.

egghead
egghead

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today