For debbuging use outline vs border
What do you mean?
outline: 1px solid red;
Outline is independent of the box model, so doesn't use any space.
Ohhhh that's right! I don't know how I never thought of using outline before. Thank you so much!!
I guess I never noticed the difference in layout when 1px is added in the border lol
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For debbuging use outline vs border
What do you mean?
outline: 1px solid red;
Outline is independent of the box model, so doesn't use any space.
Ohhhh that's right! I don't know how I never thought of using outline before. Thank you so much!!
I guess I never noticed the difference in layout when 1px is added in the border lol