Home > Article > Web Front-end > Please tell me how to set the rounded border to have multiple colors? _html/css_WEB-ITnose
For example, I want the innermost layer to be 2px yellow, the middle layer 2px blue, and the outermost layer 2px red.
How can it be achieved? Now I find that using elliptical radial gradient does not work...
border-img or 3 divs
For difficult gradients, you can refer to:
http://designshack.net/articles/introduction-to-css3-part-2-borders#highlighter_421505
For specific color codes, you can fiddle with it yourself .
Another rounded corner reference:
http://border-radius.com/