How to change checkbox’s border style in CSS? June 16, 2022 by Tarik I suggest using “outline” instead of “border”. For example: outline: 1px solid #1e5180.