Using pure CSS, how do I create a border that is a vertical, linear gradient?
I want to use -moz-linear-gradient
and not an image file. The only browser I need to support for this project will be Firefox.
I want the border to be 10px thick with a corner radius of 20px. I also want the border to be a linear gradient with an orange color (shown below) at the top fading to gray at the bottom.
#box {
border: 10px #808080 solid;
-moz-border-radius: 20px;
/* -moz-linear-gradient: ??? #F58154 #CCCCCC ???; */
}
I have reviewed other questions without seeing a good answer (like this article and this ref in there.) I will accept an answer that uses HTML/CSS without images, even if the markup contains div layers necessary to achieve this effect. Thanks!