0

How to change boders bgcolor

10th Feb 2017, 8:49 AM
Kaushal Kumar
Kaushal Kumar - avatar
6 Respuestas
+ 8
???
10th Feb 2017, 8:50 AM
Art456
Art456 - avatar
+ 8
maybe you make a border than you want change the border while it run??
10th Feb 2017, 8:50 AM
Art456
Art456 - avatar
+ 8
use background:radial-gradient
10th Feb 2017, 9:00 AM
Art456
Art456 - avatar
+ 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 ;)
10th Feb 2017, 10:37 AM
visph
visph - avatar
0
I want a different color for border ,
10th Feb 2017, 8:51 AM
Kaushal Kumar
Kaushal Kumar - avatar
0
how should I code for such
10th Feb 2017, 8:52 AM
Kaushal Kumar
Kaushal Kumar - avatar