How can I implement various border styles in my CSS?
I am looking to create a selection of different border designs for my HTML template. Sometimes, I find myself wondering whether I should include border CSS code within a specific selector like .hello, or if I should organize the border styles into a separate group in my CSS. Currently, I am using SASS with Bootstrap and I would appreciate some guidance on best practices for this task.
<div class="box bordered">has a border around it</div>
<div class="box bordered dotted">border type is set to dotted</div>
<div class="box bordered type_1">border styled with image shadow effect</div>
<div class="box bordered top">only has a border at the top</div>
<div class="box bordered left">only has a border on the left side</div>
<div class="box bordered right">only has a border on the right side</div>
<div class="box bordered bottom">only has a border at the bottom</div>