css多层漂浮海报效果代码

代码语言:html

所属分类:其他

代码描述:css多层漂浮海报效果代码

代码标签: css 多层 漂浮 海报

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

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

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


  
  
  
<style>
html {
  background: linear-gradient(to bottom right, #b8dcda, #019b9d);
  min-height: 100vh;
  display: grid;
  place-items:center;
}

body {
  width: 1000px;
  height: 666px;
}

img {
  position: absolute;
}

#logotype {
  animation: logotype 5s linear infinite;
}
@keyframes logotype {
  50% {
    transform: translateY(4%);
  }
}
#phone {
  animation: phone 8s linear infinite;
}
@keyframes phone {
  25% {
    transform: translateX(-2%);
  }
  75% {
    transform: translateX(2%);
  }
}

#coins {
  animation: coins 5s linear infinite;
}
@keyframes coins {
  50% {
    transform: scal.........完整代码请登录后点击上方下载按钮下载查看

网友评论0