how to make border opacity in css code example Example: how to give opacity to border border: 1px solid rgba(255, 0, 0, .5);