border:1px solid red is the console.log for me in css 🤣
border:1px solid red
It's like somebody read my mind! :D
border-box is slightly better since that does not affect the box-sizes. And using a weird color like light-green works usually best for me.
border-box
Borders will potentially change the layout of some elements. Use outline instead!
outline: 1px solid #f00 is my go-to for this since the outline doesn't affect size, and #f00 is just kinda fun to type instead of red :)
outline: 1px solid #f00
#f00
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.
border:1px solid red
is the console.log for me in css 🤣It's like somebody read my mind! :D
border-box
is slightly better since that does not affect the box-sizes. And using a weird color like light-green works usually best for me.Borders will potentially change the layout of some elements. Use outline instead!
outline: 1px solid #f00
is my go-to for this since the outline doesn't affect size, and#f00
is just kinda fun to type instead of red :)