radial-gradient径向渐变at确定渐变起始点实例页面
回到相关文章 »效果:
代码:
CSS代码:
.radial-gradient { width: 400px; height: 200px; background: radial-gradient(circle at 50px 50px, yellow, red); }
HTML代码:
<div class="radial-gradient"></div>
.radial-gradient { width: 400px; height: 200px; background: radial-gradient(circle at 50px 50px, yellow, red); }
<div class="radial-gradient"></div>