Dev Tools Power — Elements Tab
In this episode of Syntax, Scott and Wes talk about the Dev Tools Elements Tab — all the features, and when you would use them!
Linode - Sponsor
Whether you’re working on a personal project or managing enterprise infrastructure, you deserve simple, affordable, and accessible cloud computing solutions that allow you to take your project to the next level. Simplify your cloud infrastructure with Linode’s Linux virtual machines and develop, deploy, and scale your modern applications faster and easier. Get started on Linode today with a $100 in free credit for listeners of Syntax. You can find all the details at linode.com/syntax. Linode has 11 global data centers and provides 24/7/365 human support with no tiers or hand-offs regardless of your plan size. In addition to shared and dedicated compute instances, you can use your $100 in credit on S3-compatible object storage, Managed Kubernetes, and more. Visit linode.com/syntax and click on the “Create Free Account” button to get started.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Mux - Sponsor
Mux Video is an API-first platform that makes it easy for any developer to build beautiful video. Powered by data and designed by video experts, your video will work perfectly on every device, every time. Mux Video handles storage, encoding, and delivery so you can focus on building your product. Live streaming is just as easy and Mux will scale with you as you grow, whether you’re serving a few dozen streams or a few million. Visit mux.com/syntax.
Show Notes
03:13 - Elements
- Learn to open the Elements panel and the console right away — right-click inspect element is weak!
- Drag-and-drop elements
- Edit as HTML
- Click to select use in JS console
- $0 →
- Add Attribute
- Breadcrumbs
- Flex (Chrome now!)
- Break on → Node removal
- Scroll into view
- Expand / Collapse
16:59 - Styles
- :hov
- .cls
- Element style
- Layout - Box Model
- Layout - Grid
- Layout - Flexbox
- Toggle Print/Light/Dark
25:03 - Panel
- Escape to open close
- No longer has to be JUST Console
- Computed Styles
- Great to find out what value it’s actually using without scrolling through the cascade
- Toggle browser styles on and off
- Fonts Tab
- Super handy to find the used font, spacing, size, weight, etc.
- You can also see all fonts used on a page
- Animations Tab
- Changes
- Shows the CSS that has changed since you have been goofing around.
38:18 - Settings
- Show what’s new
- https://chrome.google.com/webstore/detail/material-devtools-theme-c/jmefikbdhgocdjeejjnnepgnfkkbpgjo
- Experiments
43:39 - Compatibility
Links
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
- Scott: Svelte Kit - Sign up for the year and save 25%!
- Wes: All Courses - Use the coupon code ‘Syntax’ for $10 off!
Tweet us your tasty treats!
- Scott’s Instagram
- LevelUpTutorials Instagram
- Wes’ Instagram
- Wes’ Twitter
- Wes’ Facebook
- Scott’s Twitter
- Make sure to include @SyntaxFM in your tweets