当前位置:网站首页>Animation through svg
Animation through svg
2022-06-13 08:44:00 【Dependency_ Lai】
1. Get psd Format file , Select the corresponding layer , Right click replication svg Or export it as svg
2. Use svg Label rendering , Copy of the svg in width and height The unit is cm
<div class="svg-streamline">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="203" height="110.5">
<path fill-rule="evenodd" stroke="rgb(124, 222, 121)" stroke-width="1px" stroke-linecap="butt"
stroke-linejoin="miter" fill="none"
d="M11.500,81.000 C14.814,81.000 17.500,83.686 17.500,87.000 C17.500,90.314 14.814,93.000 11.500,93.000 C8.186,93.000 5.500,90.314 5.500,87.000 C5.500,83.686 8.186,81.000 11.500,81.000 Z"/>
<path fill-rule="evenodd" fill="rgb(255, 255, 255)"
d="M11.500,84.600 C12.825,84.600 13.900,85.674 13.900,87.000 C13.900,88.325 12.825,89.400 11.500,89.400 C10.174,89.400 9.100,88.325 9.100,87.000 C9.100,85.674 10.174,84.600 11.500,84.600 Z"/>
<path fill-rule="evenodd" stroke="rgb(124, 222, 121)" stroke-width="1px" stroke-linecap="butt"
stroke-linejoin="miter" fill="none"
d="M12.500,83.000 L53.500,11.000 L70.500,11.000 "/>
<path fill-rule="evenodd" fill="rgb(255, 255, 255)"
d="M71.500,5.000 L74.500,8.000 L74.500,15.000 L71.500,18.000 L71.500,13.000 L65.500,13.000 L65.500,10.000 L71.500,10.000 L71.500,5.000 Z"/>
</svg>
</div>
3. add to CSS style , animating
.svg-streamline {
animation: lineMove 10s;
width: 203px;
overflow: hidden;
height: 110.5px;
pointer-events: none;
}
@keyframes lineMove {
0% {
stroke-dasharray: 0, 2000;
}
30% {
stroke-dasharray: 2000, 2000;
}
100% {
stroke-dasharray: 2000, 2000;
}
}
- Running effect

边栏推荐
- HCIP_ Static experiment
- JS - print 99 multiplication table of the for cycle case
- On the use of regular expressions (bracket problem)
- Redis distributed cluster setup
- 顺时针打印个数组
- JS - for cycle case: Horse grain
- CentOS installing MySQL and setting up remote access
- 京东商品详情接口,京东详情页接口,宝贝详情页接口,商品属性接口,商品信息查询,商品详细信息接口,h5详情,京东APP详情,京东api接口,京东历史价格数据接口代码对接分享
- anaconda下安装pytorch
- Phpexcel 10008 error resolution
猜你喜欢

2020-12-28

VI editor

d3.js&nvd3. JS - how to set the y-axis range - d3 js & nvd3. js — How to set y-axis range

DNS domain name resolution service

Yarn package management tool

anaconda下安装pytorch

HCIP_ MGRE comprehensive experiment

JS - max. of array cases

学习记录4: einops // cudnn.benchamark=true // hook

Buffer Overflow Vulnerability Lab
随机推荐
Differences among let, VaR and const when JS declares variables
Taobao commodity historical price interface / commodity historical price trend interface code docking and sharing
0.一些自己初学Solidworks的疑惑
Phpexcel 10008 error resolution
Shellshock Attack Lab
JS - array de duplication in the array object case
redis
When submitting the laravel admin form and using the required verification, an error is reported when the value is 0
Deploy Yum warehouse and NFS shared services
Learning record 4:einops / / cudnn benchamark=true // hook
On the use of regular expressions (bracket problem)
JS to get the date in the next seven days of the current date
Request alarm: refer policy: strict origin when cross origin or reference site policy: no refer when downgrade
SQL injection question type (manual injection +sqlmap)
1、 JS introduction
抖音关键词搜索列表接口,超详细的接口对接步骤
6、 JS naming rules and specifications
Custom exception class myexception
Bidirectional retransmission step experiment
学习记录4: einops // cudnn.benchamark=true // hook