gsap+svg实现代码块运行监控仪表盘动画效果代码

代码语言:html

所属分类:动画

代码描述:gsap+svg实现代码块运行监控仪表盘动画效果代码

代码标签: gsap svg 代码块 运行 监控 仪表盘

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">

  
  
  
<style>
body{
  margin: 0;
  padding: 0;
  background-color: #212228;
}
.block2{
  width: 100%;
  height: 100vh;
  display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
</style>



</head>


  <body>
  <div class="block2">
    <?xml version="1.0" encoding="UTF-8"?>
<svg width="456px" height="513px" viewBox="0 0 456 513" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 55.1 (78136) - https://sketchapp.com -->
    <title>Block2</title>
    <desc>Created with Sketch.</desc>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="Block-2" transform="translate(-492.000000, -256.000000)">
            <g id="Block2" transform="translate(492.000000, 256.000000)">
                <g id="net" transform="translate(44.000000, 71.500000)" stroke="#4D4E53">
                    <rect id="Rectangle" x="41.5" y="0" width="92.3333" height="438"></rect>
                    <rect id="Rectangle" x="134.055" y="0" width="92.3333" height="438"></rect>
                    <rect id="Rectangle" x="226.611" y="0" width="92.3333" height="438"></rect>
                    <rect id="Rectangle" x="319.166" y="0" width="92.3333" height="438"></rect>
                    <path d="M0,84 L219,84" id="Path"></path>
                    <path d="M0,164 L219,164" id="Path"></path>
                </g>
                <g id="blockleft" transform="translate(23.000000, 0.000000)">
                    <rect id="Rectangle" fill="#FFFFFF" fill-rule="nonzero" x="21" y="31" width="92" height="92"></rect>
                    <polygon id="Path" fill="#FFFFFF" fill-rule="nonzero" points="0 0 92 0 113 31 21 123 0 92"></polygon>
                    <rect id="Rectangle" stroke="#FFFFFF" fill="#212228" fill-rule="nonzero" x="0.5" y="0.5" width="91" height="91"></rect>
                    <polyline id="Path" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" points="30.834 54.291 42.584 42.541 30.834 30.791"></polyline>
                    <g id="blinking" transform="translate(46.500000, 57.709000)" stroke="#FFFFFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
                        <path d="M-1.20792265e-13,0.5 L15.6667,0.5"></path>
                    </g>
                </g>
                <g id="blockright" transform="translate(210.500000, 35.500000)" stroke="#FFFFFF">
                    <polygon id="Path" fill="#FFFFFF" fill-rule="nonzero" points="1.98951966e-13 318 1.98951966e-13 35.7703 54.274 0.2454 189.743 318"></polygon>
                    <rect id="Rectangle" fill="#212228" fill-rule="nonzero" x="55" y="0" width="190" height="318"></rect>
                    <g id="circleup" transform="translate(92.000300, 43.000300)">
                        <circle id="Oval" cx="60.4757" cy="60.4757" r="60.4757"></circle>
                    </g>
                    <g id="circledown" transform="translate(92.000000, 133.758000)">
                        <path d="M120.951,60.475 C120.951,93.875 93.875,120.951 60.476,120.951 C27.076,120.951 -4.54747351e-13,93.875 -4.........完整代码请登录后点击上方下载按钮下载查看

网友评论0