我试图像下面的图像做一个点爆炸的东西:

目前,我已经尝试使用伪元素,但是,我只能生成12点突发并且不能反映图像中显示的内容.
反正是否只用少量元素创建一个点爆发?
以下是我用来尝试此解决方案的代码:
div{
width:100px;
height:100px;
background:grey;
transform:rotate(45deg);
margin:50px;
}
div:after{
position:absolute;
content:"";
background:grey;
width:100px;
height:100px;
transform:rotate(135deg);
}
div:before{
position:absolute;
content:"";
background:grey;
width:100px;
height:100px;
transform:rotate(250deg);
}Run Code Online (Sandbox Code Playgroud)
<div></div>Run Code Online (Sandbox Code Playgroud)
我想知道是否有可能用css渐变做这样的事情:

我搜索了很多,所有的渐变都是"线性"或"径向".我想要的渐变是圆形的线性!
必须有办法做到这一点.我用html5画布绘制了一个形状,我想模糊它.据我所知,没有本机方法所以我假设需要一个js库.问题是大多数库只模糊像这样的图像.这可能吗?
如何以循环方式堆叠div,使最后一个div应该位于第一个div之下但位于第二个div之上。CSS可能吗?任何帮助将不胜感激。
请找到Codepen。提供示例代码段
<div class="frame">
<div class="lolly-pop__wrapper">
<div class="lollypop-top">
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
<div class="lollypop-top__item"></div>
</div>
</div>
</div>
.frame {
position: absolute;
display: flex;
justify-content: center;
top: 50%;
left: 50%;
width: 400px;
height: 400px;
margin-top: -200px;
margin-left: -200px;
border-radius: 2px;
box-shadow: 4px 8px 16px 0 rgba(0,0,0,0.1);
overflow: hidden;
background: #F5CE51;
color: #333;
font-family: 'Open Sans', Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; …Run Code Online (Sandbox Code Playgroud) <svg id="color-gradient" width="400" height="400" version="1.1" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1">
<stop offset="0%" stop-color="red"/>
<stop offset="50%" stop-color="blue" />
<stop offset="100%" stop-color="yellow"/>
</linearGradient>
</defs>
<circle cx="200" cy="200" r="100" fill="url(#gradient)"/>
</svg>Run Code Online (Sandbox Code Playgroud)
我想在一个有 3 个颜色点的圆圈中创建一个 svg 渐变,以这样的三角形排列。
<svg id="color-gradient" width="400" height="400" version="1.1" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1">
<stop offset="0%" stop-color="red"/>
<stop offset="50%" stop-color="blue" />
<stop offset="100%" stop-color="yellow"/>
</linearGradient>
</defs>
<circle cx="200" cy="200" r="100" fill="url(#gradient)"/>
</svg>
Run Code Online (Sandbox Code Playgroud)
我尝试创建具有三个停止点的线性渐变,但我不确定如何将停止点放置在我需要的位置(左上右上)。