Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

rounded gradient border css


div{
  width: 300px;
  height: 80px;
  border: double 5px transparent;
  border-radius: 30px;
  background-image: linear-gradient(white, white),         /*here must be*/
                    linear-gradient(to right, green, gold);    /*both gradients*/
  background-origin: border-box;
  background-clip: content-box, border-box;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rounded #gradient #border #css
ADD COMMENT
Topic
Name
4+5 =