js+css实现飞行飞机时钟显示走动效果代码

代码语言:html

所属分类:其他

代码描述:js+css实现飞行飞机时钟显示走动效果代码

代码标签: js css 飞行 飞机 时钟 显示 走动效

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

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

<head>

  <meta charset="UTF-8">
  

  
  
  
<style>
svg{
	border:4px solid lightblue;
	border-radius:50%;
	height:300px;
	width:300px;
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0%25' style='stop-color:%23fff;stop-opacity:0' /%3E%3Cstop offset='60%25' style='stop-color:%23fff;stop-opacity:0.8' /%3E%3Cstop offset='100%25' style='stop-color:%23fff;stop-opacity:1' /%3E%3C/linearGradient%3E%3ClinearGradient id='grad2' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0%25' style='stop-color:%23fff;stop-opacity:0.99' /%3E%3Cstop offset='10%25' style='stop-color:%23fff;stop-opacity:0.8' /%3E%3Cstop offset='100%25' style='stop-color:%23fff;stop-opacity:0' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cfilter id='sky'%3E%3CfeTurbulence baseFrequency='0.00625' numOctaves='9' seed='51' /%3E%3CfeColorMatrix type='hueRotate' values='0'%3E%3Canimate attributeName='values' from='0' to='360' dur='60s' repeatCount='indefinite' /%3E%3C/feColorMatrix%3E%3CfeColorMatrix values='2.8 0.5 -4.5 1 4.6 -0.3 2.1 -3 0 3.5 2.8 -1.4 -0.2 4.3 3.5 -4.9 -0.9 4.5 3.9 -2' /%3E%3C/filter%3E%3Cfilter id='sea'%3E%3CfeTurbulence baseFrequency='0.006 0.2' numOctaves='9' seed=.........完整代码请登录后点击上方下载按钮下载查看

网友评论0