I'm working on styling a div element with gradient borders using CSS, and I want to round the corners as well. Here's my current code:
<div class = "gradborders" id="mydiv" runat="server">
<!-- various elements -->
</div>
.gradborders {
border-image: -webkit-linear-gradient(45deg, rgba(20,20,20,0.7) 5%, rgba(90,90,90,0.5) 35%, rgba(255,255,255,0.2) 100%) 8 stretch;
border-image: -o-linear-gradient(45deg, rgba(20,20,20,0.7) 5%, rgba(90,90,90,0.5) 35%, rgba(255,255,255,0.2) 100%) 8 stretch;
border-image: -moz-linear-gradient(45deg, rgba(20,20,20,0.7) 5%, rgba(90,90,90,0.5) 35%, rgba(255,255,255,0.2) 100%) 8 stretch;
border-image: linear-gradient(45deg, rgba(20,20,20,0.7) 5%, rgba(90,90,90,0.5) 35%, rgba(255,255,255,0.2) 100%) 8 stretch;
border-radius: 8px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
}
Despite trying multiple methods, including using the AJAX Rounded Corner extender, I haven't been able to achieve rounded corners for the div. Any suggestions on how to implement this successfully?