Ask any front-end developer. In-browser developer tools are the key to speedy development and debugging. Additionally, they’re useful for HTML, Javascript, and many other languages. I’ll focus on the CSS benefits today.<\/p>\n
With the right dev tools, you can modify CSS and preview your changes in real-time before you commit them to your CSS file. This shaves time off of swapping applications, uploading, and refreshing. Finally, no more stabbing around in the dark to figure out what will fix your issue! They also allow for pixel-perfect absolute positioning, as you can see exactly where you are moving an element.<\/p>\n
Throughout my time developing, I’ve found that Chrome and Safari are consistently the most accurate for cross-browser compatibility. Across operating systems, Chrome is probably the most popular because Google knows what they are doing.<\/p>\n
If you are using Firefox, upgrade to Chrome<\/a>.<\/p>\n If you’re using Internet Explorer, have you considered that you’re maybe not ready for web development? I joke, but seriously, you need to use a better browser. Later versions have been more<\/em> W3-compliant, but it’s a tool best saved for compatibility testing.<\/p>\n Consequently, using the right browser can save you a ton of time in your cross-browser testing. A bad browser will leave you struggling to get your code to play nice. Your page will not render correctly in standards-compliant browsers and it’ll increase load time.<\/p>\n To setup DevTools in Chrome, check out the DevTool docs<\/a>.<\/p>\n If you’ve never done CSS troubleshooting in-browser, Google has set up a great article detailing how to use Chrome DevTools to inspect and edit your pages and styles<\/a>.<\/p>\n Most importantly, Device Mode is BAE. It’s Chrome’s emulator for mobile and tablet devices. It is always best to compatibility test on an actual device, but Device Mode<\/a> is a great supplement to standard QC.<\/p>\n To setup Web Inspector in Safari or iOS, check out the Safari Web Inspector Guide<\/a>. This article also contains information to help familiarize yourself with the interface.<\/p>\n The main benefit to using Web Inspector is the ability to inspect and adjust elements on an actual iOS device connected to your computer. Sometimes device emulators don’t always show the same issues visible on the actual device. Web Inspector on iOS Safari<\/a> makes resolving issues on Apple devices easier.<\/p>\n In conclusion, developer tools are your most important<\/strong> asset for speedy front-end dev. You make the most of your CSS code when you use these tools and do so quickly. If you are trying to learn front-end and don’t use them, you’re just going to give yourself a migraine.<\/p>\n I feel like dev tools are paramount, but you tell me: are there any other CSS tools you can’t live without? Empty your toolbox in the comments below.<\/p>\n","protected":false},"excerpt":{"rendered":" Ask any front-end developer. In-browser developer tools are the key to speedy development and debugging. Additionally, they’re useful for HTML, Javascript, and many other languages. I’ll focus on the CSS benefits today. With the right dev tools, you can modify CSS and preview your changes in real-time before you commit them to your CSS file.<\/p>\n
\nDive in with Developer Tools<\/h2>\n
Chrome DevTools<\/h3>\n
Safari Web Inspector<\/h3>\n
\nTips for Speedy CSS with Developer Tools<\/h2>\n
\n
:hover<\/code>) can be toggled on and off through the styles panel, so you can easily style your links and menus.<\/li>\n
\n