Please tell me how to set the rounded border to have multiple colors? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:20:38
Original
1606 people have browsed it



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...


Reply to discussion (solution)

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/

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template