Answers for "css border opacity"

CSS
3

css border opacity

div {
    border: 1px solid rgba(255, 0, 0, .5);
    -webkit-background-clip: padding-box; /* for Safari */
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
}
Posted by: Guest on April-04-2020
3

how to give opacity to border

border: 1px solid rgba(255, 0, 0, .5);
Posted by: Guest on October-09-2020

Browse Popular Code Answers by Language