Are there another color or shape for the border? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Are there another color or shape for the border?

not only black rectangle. especially for HTML

1st Feb 2017, 8:01 AM
prayoga
prayoga - avatar
3 Answers
+ 3
sure, with CSS you can set the border-color to whatever you like. CSS3 supports border-radius, so you can have round corners. you can also define different corners for top-left, top-right, bottom-left and bottom-right. same applies to the color. it's also possible to have dotted borders and other border-types.
1st Feb 2017, 8:07 AM
Mario L.
Mario L. - avatar
0
hi, you can even make a circule: https://bavotasan.com/2011/circular-images-with-css3/ Thanks
1st Feb 2017, 8:17 AM
Víctor Vila Álvarez
Víctor Vila Álvarez - avatar