I am trying to create SVG GUI item. Something like this:
It has two inset borders. I don't even know how to force rectangle to have an inset border. How do I do that?
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI am trying to create SVG GUI item. Something like this:
It has two inset borders. I don't even know how to force rectangle to have an inset border. How do I do that?
The solution is to use gradients. By placing two gradient stops at the same location, you achieve the sharp switch:
This is the result:
Nest step is to turn the gradient ton 45°. I simply zoom in to put the gradient begin and and as close to the corner as possible:
And here's the result, nice simple inset border: