js+svg实现液体拖拽分离融合动画效果代码

代码语言:html

所属分类:拖放

代码描述:js+svg实现液体拖拽分离融合动画效果代码,鼠标左键单价拖拽液体试试。

代码标签: js svg 液体 拖拽 分离 融合 动画

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

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

<head>
  <meta charset="UTF-8">
  

  
  
  
<style>
@import url("https://fonts.googleapis.com/css?family=Chewy|Gloria+Hallelujah");
html {
  height: 100%;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: #121327;
  overflow: hidden;
  -webkit-filter: hue-rotate(0deg);
  filter: hue-rotate(0deg);
  -moz-animation: huerot 5s ease infinite;
  -webkit-animation: huerot 5s ease infinite;
  animation: huerot 5s ease infinite;
}

/** end for goo container **/
.glowy-blob {
  position: absolute;
  left: 50%;
  top: 50%;
  -moz-transform: translate(-50, -50);
  -ms-transform: translate(-50, -50);
  -webkit-transform: translate(-50, -50);
  transform: translate(-50, -50);
  -webkit-filter: url("#goo");
  filter: url("#goo");
}
.glowy-blob div {
  width: 80px;
  height: 80px;
  background: #85EDE8;
  -moz-border-radius: 500px;
  -webkit-border-radius: 500px;
  border-radius: 500px;
  display: inline-block;
  position: absolute;
  box-shadow: 0px 0px 50px #85EDE8;
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
  /**keyframes **/
}
.glowy-blob div:nth-child(2) {
  width: 43px;
  height: 43px;
  left: 23px;
}
.glowy-blob div:nth-child(3) {
  width: 42px;
  height: 42px;
  left: -39px;
}
.glowy-blob div:nth-child(4) {
  width: 44px;
  height: 44px;
  left: -31px;
}
.glowy-blob div:nth-child(5) {
  width: 37px;
  height: 37px;
  left: 17px;.........完整代码请登录后点击上方下载按钮下载查看

网友评论0