+ 1

Css borders 🖼️

Can i use 2 borders in css and add 2 different colors ???

20th Feb 2022, 2:08 PM
CODY RAZA ツ
CODY RAZA ツ - avatar
4 Answers
+ 1
A workaround is using box-shadow: inset 0 0 0 5px red; less positioning problems than border.
20th Feb 2022, 2:29 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
0
Use padding instead, you can also pad the border.
20th Feb 2022, 4:40 PM
T.Coded
T.Coded - avatar