<div >
Border with different colors?
</div>
Is there a way to accomplish this maybe using sass?
CodePudding user response:
Yes in SCSS you should use BOM approch so you can write like this:
<div >
Border with different colors?
Now scss:
.border { &-bottom { border-bottom-color: red } &-top { border-top-color: green } }