Dev Tools Power Elements Tab

Published: June 30, 2021, 1 p.m.

b'

In this episode of Syntax, Scott and Wes talk about the Dev Tools Elements Tab \\u2014 all the features, and when you would use them!

Linode - Sponsor

Whether you\\u2019re 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\\u2019s 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\\xa0linode.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\\xa0linode.com/syntax\\xa0and click on the \\u201cCreate Free Account\\u201d button to get started.

Sentry - Sponsor

If you want to know what\\u2019s happening with your code, track errors and monitor performance with Sentry. Sentry\\u2019s 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\\xa0Sentry.io\\xa0and 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\\u2019re serving a few dozen streams or a few million. Visit\\xa0mux.com/syntax.

Show Notes

03:13 - Elements

  • Learn to open the Elements panel and the console right away \\u2014 right-click inspect element is weak!
  • Drag-and-drop elements
  • Edit as HTML
  • Click to select use in JS console
    • $0 \\u2192
  • Add Attribute
  • Breadcrumbs
  • Flex (Chrome now!)
  • Break on \\u2192 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\\u2019s 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

43:39 - Compatibility

Links

\\xd7\\xd7\\xd7 SIIIIICK \\xd7\\xd7\\xd7 PIIIICKS \\xd7\\xd7\\xd7

Shameless Plugs

  • Scott:\\xa0Svelte Kit\\xa0- Sign up for the year and save 25%!
  • Wes:\\xa0All Courses\\xa0- Use the coupon code \\u2018Syntax\\u2019 for $10 off!

Tweet us your tasty treats!

'