当前位置:网站首页>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

边栏推荐
- File upload question type
- 0. Quelques doutes au sujet de SolidWorks
- 2、 Three ways to write JS code
- VI editor
- JS - set countdown for Date object case
- Disk management and disk partition operation
- CentOS installing MySQL and setting up remote access
- filebeat采集日志到ELK
- JS to get the date in the next seven days of the current date
- Namespace in TS (2)
猜你喜欢

Redis subscribe connection timeout interrupt problem solution

CentOS installing MySQL and setting up remote access

redis. exceptions. ConnectionError: Error 111 connecting to 172.16.8.128:6379. Connection refused.

Bidirectional retransmission step experiment

JS - print 99 multiplication table of the for cycle case

À propos des principes de chiffrement et de décryptage RSA

VI editor

Print an array clockwise

HCIP_ Static experiment

JS - simple ATM of the for cycle case
随机推荐
抖音关键词搜索列表接口,超详细的接口对接步骤
Vscode double shortcut keys up, down, left and right
Replace jade engine with EJS
京东商品详情接口,京东详情页接口,宝贝详情页接口,商品属性接口,商品信息查询,商品详细信息接口,h5详情,京东APP详情,京东api接口,京东历史价格数据接口代码对接分享
VI editor
關於RSA加密解密原理
Emotion handling skills
Dest0g3 520迎新賽
redis.exceptions.ConnectionError: Error 111 connecting to 172.16.8.128:6379. Connection refused.
Review one flex knowledge point every day
Vs installation of vassistx plug-in causes Chinese input of wpf-xaml file to be garbled. Solution
1. preliminary understanding of Express
JS - set countdown for Date object case
Mongodb test case
4、 Js-es5-i / O
MySQL queries difference sets (missing data) by linking tables based on an associated field
JS array method
logstash配置参考文章
redis
JS wrapper object