Is it possible to control opacity of borders?
Don’t think you can change the opacity of a border. however you could use css or jquery to set the opacity of a div then center another div inside that one. it would give the illusion of a border.
You could do what kloy said, but you could make the background image of the div a .png file.
yea what Jamy said is pretty much what you should do. Remember opacity will apply to everything within the div as well, not just the div itself.
You can use rgba color instead of hexadecimal color for the border-color :
border : solid 1px rgba(0,0,0,0.5); instead of border : solid 1px #000000;
The topic ‘border opacity’ is closed to new replies.
*May or may not contain any actual "CSS" or "Tricks".