Why doesn't the border show up when I set border-color only?
Border needs a border-style other than 'none' to appear. Setting only border-color won't show a border because the default style is 'none'. See render_step 4 where border-style 'solid' is added.
💡 Always set border-style along with border-color to see the border.
Why does adding border make my box bigger than expected?
Borders add to the element's total size by default, increasing width and height. This is because border is outside the content and padding area. See render_step 4 where border adds visible thickness around the box.
💡 Use box-sizing: border-box to include border inside the set width.
Why is my border not rounded even though I set border-radius?
Border-radius only rounds corners if border-style is visible (not 'none'). Also, some border styles like 'dotted' may not show smooth rounding. Make sure border-style is set and border-radius has a visible value.
💡 Combine border-style solid and border-radius for smooth rounded borders.