I'm trying to see if there's a way to change the two colors of the inset border in CSS
As you know, the inset style creates a border on an element that creates the illusion that that it has an embedded border. It achieves this by making the bottom and right border the color you selected, and changes the color of the top and left border a slightly darker shade.
Does anyone know of a way where you can control how dark, or maybe even different color the alternate shade would be?
#myElement{
border: inset 1px white;
}
Thanks.
border-left: 1px solid #somecolour;
and same for right, top and down. If you're not sure how to reproduce the inset effect, take a screenshot of a border set to inset, and use the same colours. Then move from there. – Welter