---
title: "Discussion on \"The Best Way To Debug CSS Code\" | Hashnode"
description: "Discussion on \"The Best Way To Debug CSS Code\". Debugging your code is crucial. So you better know how to do it right"
url: "https://hashnode.com/posts/the-best-way-to-debug-css-code/609b51c600bbde79d86a55f9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Best Way To Debug CSS Code](https://blog.rohitgulam.com/the-best-way-to-debug-css-code?utm_source=hashnode&utm_medium=feed)

Debugging your code is crucial. So you better know how to do it right

May 12, 2021 · 2 min read · blog.rohitgulam.com  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Rohit Gulam](https://hashnode.com/@RohitGulam)

@RohitGulam · Dar Es Salaam, TZ

  
[View profile](https://hashnode.com/@RohitGulam)

Full-stack software developer writing about his experiences

I'm currently learning front-end development and I'm looking forward to learn back-end too.

## Responses 4

Markdown supported · ⌘↵ to post

[Rajat Kapoor](https://hashnode.com/@rajatkapoor)

[May 12, 2021](https://hashnode.com/posts/the-best-way-to-debug-css-code/609b51c600bbde79d86a55f9/comment/609be9eac798bd79ff8ede88)

Such a handy trick. Thanks for sharing

[Rohit Gulam](https://hashnode.com/@RohitGulam)

[May 12, 2021](https://hashnode.com/posts/the-best-way-to-debug-css-code/609b51c600bbde79d86a55f9/comment/609be9eac798bd79ff8ede88#reply-609beec4c798bd79ff8edf8a)

Glad you enjoyed it.

[Andrew Baisden](https://hashnode.com/@andrewbaisden)

[May 12, 2021](https://hashnode.com/posts/the-best-way-to-debug-css-code/609b51c600bbde79d86a55f9/comment/609bc8c100bbde79d86a64ea)

Ah really cool [Rohit Gulam](https://hashnode.com/@RohitGulam) this is a good alternative to using the border property which I never considered.

[Rohit Gulam](https://hashnode.com/@RohitGulam)

[May 12, 2021](https://hashnode.com/posts/the-best-way-to-debug-css-code/609b51c600bbde79d86a55f9/comment/609bc8c100bbde79d86a64ea#reply-609bca5600bbde79d86a655a)

Try using it and give me some feedback😊

[Catalin Pit](https://hashnode.com/@Catalinpit)

[May 12, 2021](https://hashnode.com/posts/the-best-way-to-debug-css-code/609b51c600bbde79d86a55f9/comment/609bc73400bbde79d86a6494)

This is really useful and different to what I was used to.

I used `border: 5px solid red` until now. 👀

[Rohit Gulam](https://hashnode.com/@RohitGulam)

[May 12, 2021](https://hashnode.com/posts/the-best-way-to-debug-css-code/609b51c600bbde79d86a55f9/comment/609bc73400bbde79d86a6494#reply-609bca3100bbde79d86a6554)

Glad you found it informative Catalin. This really helps to find those minor dimensional errors
