0
How to change boders bgcolor
6 Respuestas
+ 8
???
+ 8
maybe you make a border than you want change the border while it run??
+ 8
use background:radial-gradient
+ 1
A border have a foreground color, not a background one by itself ^^
You can change the border ( implicitly foreground ) color with the property... 'border-color' ( surprising, not? :P ) or even with the shorthand 'border' ( but overwrite all 'border' family properties ).
Else, if you really want to handle the color of the background below the border ( but you need to use transparency for your border color ), you must look at properties about 'background-origin', which determinates what zone of box model is filled/cropped ( content box or padding box or border box ), but you can't have a specific background only for the border line ;)
0
I want a different color for border ,
0
how should I code for such