Coloured Borders | Sololearn: Learn to code for FREE!

+1

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

Emlyn

3 Answers

New Answer

+8

https://code.sololearn.com/WuAXBJlSQ6n4/?ref=app

+2

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

+1

try this in HTML bordercolor="yourcolor"