Coloured Borders | Sololearn: Learn to code for FREE!


Coloured Borders

How do you colour a border? I have tried many differnent ways but they just don't work. Does anyone know or do you learn it is CSS or something?

3/22/2018 8:16:50 AM


3 Answers

New Answer



Yes, it can be done with css #my-div{ border: 1px solid red // specify what color // you want }


try this in HTML bordercolor="yourcolor"