0

Border color (html/css)

How can I change border color at Html? And how can I change color for just one word in paragraph ?

2nd Nov 2020, 9:43 AM
شهد
شهد  - avatar
1 Odpowiedź
+ 2
Its not possible to change color of one word in a paragraph directly. You can do it by splitting each word into its own span element, and specifying a span element using pseudo selector. Border color can be changed using: CSS border: 10px solid black; Black refers to color, change to whatever color u want
2nd Nov 2020, 9:49 AM
Steve Sajeev
Steve Sajeev - avatar