【发布时间】:2015-05-25 06:53:14
【问题描述】:
所以我在 Photoshop 中为我的标题做了一些简单的事情: http://i.imgur.com/U4GYzFV.png
我一直在研究 CSS 中的径向渐变,我发现了如何达到这一点,但我不知道如何调整它以使其看起来更像 Photoshop 的。
任何帮助将不胜感激!
#header {
height: 220px;
width: 100%;
background-image:
radial-gradient(
circle closest-side,
#6fa5d9,
#51789d
);
}
<header id="header"></header>
【问题讨论】:
标签: css gradient radial-gradients