CSS生成器可以为您节省大量时间和精力。
下面是最有用的CSS生成器:
一、Buttons CSS generator
你可以在你的项目中使用100多个按钮。链接地址
![](https://img.haomeiwen.com/i8406957/862ae52ede87cc7f.png)
![](https://img.haomeiwen.com/i8406957/082dccb8391c1c8c.png)
<style>
.css-button-3d--rose {
min-width: 130px;
height: 40px;
color: #fff;
padding: 5px 10px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
display: inline-block;
outline: none;
border-radius: 5px;
border: none;
background: #ff6392;
box-shadow: 0 5px #ff0a78;
}
.css-button-3d--rose:hover {
box-shadow: 0 3px #ff0a78;
top: 1px;
}
.css-button-3d--rose:active {
box-shadow: 0 0 #ff0a78;
top: 5px;
}
</style>
<div class="content">
<button class="css-button-gradient--9">乐刻健身</button>
</div>
![](https://img.haomeiwen.com/i8406957/0e11d70950794874.png)
如果无布局相关可以根据业务需要更改,相对灵活,点击是有动效的
二、CSS Grid Generator
You can set the numbers, and units of your columns and rows, and it'll generate a CSS grid for you! Drag within the boxes to create divs placed within the grid.
你可以设置列和行的数量和单位,它会为你生成一个CSS网格!在方框内拖动以创建放置在网格中的div。链接地址
![](https://img.haomeiwen.com/i8406957/1e8f173b0a6108a9.png)
![](https://img.haomeiwen.com/i8406957/004317d6b4246817.png)
![](https://img.haomeiwen.com/i8406957/60be3d84f369793b.png)
<style>
.parent {
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(5, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
}
.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
</style>
<div class="parent">
<div class="div1"> </div>
<div class="div2"> </div>
</div>
三、Neumorphism/Soft UI generator
CSS code generator that will help with colors, gradients, and shadows to adopt this new design trend or discover its possibilities.
CSS代码生成器,它将帮助颜色、渐变和阴影采用这种新的设计趋势或发现其可能性。链接地址
![](https://img.haomeiwen.com/i8406957/b8ca1c3e79fdf48e.png)
![](https://img.haomeiwen.com/i8406957/aa1e682601db6ddf.png)
border-radius: 50px;
background: #6aa4c8;
box-shadow: 20px 20px 60px #5a8baa,
-20px -20px 60px #7abde6;
四、Get Waves
A free SVG wave generator to make unique SVG waves for your next web design. Choose a curve, adjust complexity, and randomize!一个免费的SVG波发生器,使独特的SVG波为您的下一个网页设计。选择一条曲线,调整复杂度,随机化! 链接地址
![](https://img.haomeiwen.com/i8406957/cb35171a4ff54713.png)
![](https://img.haomeiwen.com/i8406957/19f776bbecc02356.png)
五、 AnimatiSS
一个漂亮的CSS动画集合,为您的web项目。 链接地址
![](https://img.haomeiwen.com/i8406957/36b1275fd941da08.png)
![](https://img.haomeiwen.com/i8406957/13a69e7f4655d874.png)
.scale-up-top-right{
animation:scale-up-top-right 0.4s;
}
@keyframes scale-up-top-right{
0%{transform:scale(.5);
transform-origin:top right
}100%{transform:scale(1);transform-origin:top right}}
六、Glassmorphism CSS Generator
Create a stunning glass effect for your UI designs.
为你的UI设计创建一个令人惊叹的玻璃效果。链接地址
![](https://img.haomeiwen.com/i8406957/a0bdb3165588beb1.png)
background: rgba(255,255,255,0.25);
box-shadow: 20px 20px 40px -6px rgba(0,0,0,0.2);
backdrop-filter: blur(4.5px);
-webkit-backdrop-filter: blur(4.5px);
border-radius: 10px;
七、Keyframes
Keyframes help you write better CSS with a suite of tools to create CSS animations, box shadows, colors, & more.关键帧帮助您使用一套工具来创建CSS动画、框阴影、颜色等,从而更好地编写CSS。链接地址
![](https://img.haomeiwen.com/i8406957/d3adf7009449002e.png)
![](https://img.haomeiwen.com/i8406957/086cddcbfd6308fa.png)
![](https://img.haomeiwen.com/i8406957/b5a3280db4f27398.png)
If you liked this thread, share it with your friends
网友评论