{"id":3006,"date":"2016-08-28T11:53:57","date_gmt":"2016-08-28T16:53:57","guid":{"rendered":"http:\/\/cssnewbie.com\/?p=1923"},"modified":"2016-08-28T11:53:57","modified_gmt":"2016-08-28T16:53:57","slug":"top-tools-to-debug-your-css","status":"publish","type":"post","link":"https:\/\/cssdeck.com\/blog\/top-tools-to-debug-your-css\/","title":{"rendered":"Top Tools to Debug Your CSS"},"content":{"rendered":"<p>Writing CSS is so much easier when you have access to a debugger or a CSS validator. These tools allow you to identify and fix anything that might be wrong with your code, and many of the developer tools also let you edit the content of a live site, which provides invaluable support during a re-design or when trying to find errors. Here are some of our favorite debuggers and validators:<\/p>\n<p>1. <a href=\"http:\/\/chrispederick.com\/work\/web-developer\/\" target=\"_blank\" rel=\"noopener noreferrer\">Web Developer Extension<\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-1925 aligncenter\" src=\"http:\/\/cssnewbie.com\/wp-content\/uploads\/2016\/08\/menu-1200-1024x484.png\" alt=\"menu-1200\" width=\"601\" height=\"284\" \/><\/p>\n<p>This is an extension that can be downloaded and added to Chrome, Firefox, and Opera, and it will run on any OS that supports these browsers. It adds a toolbar to your browser that can be used to inspect your CSS elements in an effort to debug or test out changes.<\/p>\n<p>2. <a href=\"http:\/\/getfirebug.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Firebug<\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-1924 aligncenter\" src=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/08\/Screen-Shot-2016-08-22-at-7.14.51-PM.png\" alt=\"Screen Shot 2016-08-22 at 7.14.51 PM\" width=\"602\" height=\"192\" \/><\/p>\n<p>Firebug is a tool that can be used exclusively with Firefox to edit\u00a0and debug any CSS, HTML, and JavaScript on live webpages. The tool can be used to find errors, filter your code, and tweak your CSS.<\/p>\n<p>3. <a href=\"https:\/\/developer.chrome.com\/devtools\" target=\"_blank\" rel=\"noopener noreferrer\">Google Developer Tools<\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-1926 aligncenter\" src=\"http:\/\/cssnewbie.com\/wp-content\/uploads\/2016\/08\/Screen-Shot-2016-08-22-at-7.22.06-PM-1024x174.png\" alt=\"Screen Shot 2016-08-22 at 7.22.06 PM\" width=\"601\" height=\"102\" \/><\/p>\n<p>This powerful and useful editing and debugging tool comes with any Google Chrome installation. And can be used to edit, debug, and tweak your code.<\/p>\n<p>4. <a href=\"http:\/\/www.css-validator.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">W3 CSS Validation Service<\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-1927 aligncenter\" src=\"http:\/\/cssnewbie.com\/wp-content\/uploads\/2016\/08\/Screen-Shot-2016-08-22-at-7.27.49-PM-1024x567.png\" alt=\"Screen Shot 2016-08-22 at 7.27.49 PM\" width=\"600\" height=\"332\" \/><\/p>\n<p>If something is wrong with your CSS that you can&#8217;t quite pinpoint, a CSS validator is a great tool to make sure that your formatting\u00a0is correct and that there aren&#8217;t any glaring errors.<\/p>\n<p>5. <a href=\"http:\/\/csslint.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">CSS Lint<\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-1928 aligncenter\" src=\"http:\/\/cssnewbie.com\/wp-content\/uploads\/2016\/08\/Screen-Shot-2016-08-22-at-7.31.59-PM-1024x173.png\" alt=\"Screen Shot 2016-08-22 at 7.31.59 PM\" width=\"604\" height=\"102\" \/><\/p>\n<p>CSS Lint is a really useful validator that will not only validate your code, but you can always use it to pick and choose which errors and warnings to test for.<\/p>\n<div class=\"wp-socializer wpsr-share-icons \" data-lg-action=\"show\" data-sm-action=\"show\" data-sm-width=\"768\" ><h3>Share and Enjoy !<\/h3><div class=\"wpsr-si-inner\"><div class=\"wpsr-counter wpsrc-sz-32px\" style=\"color:#000\"><span class=\"scount\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook,twitter,linkedin,pinterest,print,pdf\">0<\/span><\/span><small class=\"stext\">Shares<\/small><\/div><div class=\"socializer sr-popup sr-32px sr-circle sr-opacity sr-pad sr-count-1 sr-count-1\"><span class=\"sr-facebook\"><a rel=\"nofollow\" href=\"https:\/\/www.facebook.com\/share.php?u=\" target=\"_blank\"  title=\"Share this on Facebook\"  style=\"color: #ffffff\" ><i class=\"fab fa-facebook-f\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-twitter\"><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=%20-%20%20\" target=\"_blank\"  title=\"Tweet this !\"  style=\"color: #ffffff\" ><i class=\"fab fa-twitter\"><\/i><\/a><\/span>\n<span class=\"sr-linkedin\"><a rel=\"nofollow\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=\" target=\"_blank\"  title=\"Add this to LinkedIn\"  style=\"color: #ffffff\" ><i class=\"fab fa-linkedin-in\"><\/i><\/a><\/span>\n<span class=\"sr-pinterest\"><a rel=\"nofollow\" href=\"https:\/\/www.pinterest.com\/pin\/create\/button\/?url=&amp;media=&amp;description=\" target=\"_blank\"  title=\"Submit this to Pinterest\"  style=\"color: #ffffff\" data-pin-custom=\"true\"><i class=\"fab fa-pinterest\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"pinterest\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-print\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Print this article \"  style=\"color: #ffffff\" ><i class=\"fa fa-print\"><\/i><\/a><\/span>\n<span class=\"sr-pdf\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Convert to PDF\"  style=\"color: #ffffff\" ><i class=\"fa fa-file-pdf\"><\/i><\/a><\/span><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Writing CSS is so much easier when you have access to a debugger or a CSS validator. These tools allow you to identify and fix anything that might be wrong with your code, and many of the developer tools also [&#8230;]<\/p>\n<p><a class=\"more-link article\" href=\"https:\/\/cssdeck.com\/blog\/top-tools-to-debug-your-css\/\" title=\"Click to read 'Top Tools to Debug Your CSS'\">Read Article<\/a><\/p>\n","protected":false},"author":18,"featured_media":2764,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[174],"tags":[],"_links":{"self":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/3006"}],"collection":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/comments?post=3006"}],"version-history":[{"count":0,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/3006\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media\/2764"}],"wp:attachment":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media?parent=3006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/categories?post=3006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/tags?post=3006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}