vue+three实现简洁电台ui界面交互效果代码

代码语言:html

所属分类:布局界面

代码描述:vue+three实现简洁电台ui界面交互效果代码

代码标签: vue three 简洁 电台 ui 界面 交互

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

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

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

  <link rel='stylesheet' href='https:////fonts.googleapis.com/css?family=Roboto+Condensed:700'>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.css">
  
<style>
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background-color: transparent;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
  box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform-style: flat;
  transition: border-color 400ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 400ms cubic-bezier(0.215, 0.61, 0.355, 1), opacity 400ms cubic-bezier(0.215, 0.61, 0.355, 1), transform 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section, main, summary, div, h1, h2, h3, h4, h5, h6, hr,
p, ol, ul, form, img {
  display: block;
}

input, textarea, select, optgroup, option, button {
  font-family: inherit;
  font-size: inherit;
  font-weight: normal;
  line-height: inherit;
  color: inherit;
}

select, button {
  cursor: pointer;
}

a {
  color: cornflowerblue;
}
a:hover {
  color: #92b4f2;
}

hr {
  display: block;
  overflow: hidden;
  margin: 1em 0;
  height: 0;
  border: 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

html, body {
  display: block;
  position: relative;
  max-width: 100vw;
  min-height: 100vh;
}

html {
  overflow: hidden;
  overflow-y: auto;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: calc( 20px - 6px );
  line-height: 1.2em;
  color: #787ba2;
  background-size: cover;
  background-color: #8086a0;
  background-image: linear-gradient(217deg, rgba(220, 20, 60, 0.8), rgba(220, 20, 60, 0) 70.71%), linear-gradient(127deg, #8086a0, rgba(128, 134, 160, 0) 70.71%), linear-gradient(336deg, rgba(100, 149, 237, 0.8), rgba(100, 149, 237, 0) 70.71%);
}
@media only screen and (min-width : 420px) {
  body {
    font-size: calc( 20px - 4px );
  }
}
@media only screen and (min-width : 720px) {
  body {
    font-size: calc( 20px - 2px );
  }
}
@media only screen and (min-width : 1200px) {
  body {
    font-size: 20px;
  }
}

.if-small {
  display: none;
}
@media only screen and (min-width : 420px) {
  .if-small {
    display: initial;
  }
}

.if-medium {
  display: none;
}
@media only screen and (min-width : 720px) {
  .if-medium {
    display: initial;
  }
}

.if-large {
  display: none;
}
@media only screen and (min-width : 1200px) {
  .if-large {
    display: initial;
  }
}

.hidden, [hidden], [v-cloak] {
  display: none;
}

.disabled, [disabled] {
  pointer-events: none;
  opacity: 0.5;
}

.clickable {
  cursor: pointer;
}

.card {
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

.push-top {
  margin-top: 1em;
}

.push-right {
  margin-right: 1em;
}

.push-bottom {
  margin-bottom: 1em;
}

.push-left {
  margin-left: 1em;
}

.push-all {
  margin: 1em;
}

.pad-top {
  padding-top: 1em;
}

.pad-right {
  padding-right: 1em;
}

.pad-bottom {
  padding-bottom: 1em;
}

.pad-left {
  padding-left: 1em;
}

.pad-all {
  padding: 1em;
}

.border-top {
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.border-right {
  border-right: 2px solid rgba(0, 0, 0, 0.08);
}

.border-bottom {
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.border-left {
  border-left: 2px solid rgba(0, 0, 0, 0.08);
}

.shadow-box {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.shadow-text {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.fx {
  position: relative;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-duration: 400ms;
          animation-duration: 400ms;
  -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
          animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.fx-notx {
  transition: none !important;
}

.fx-ibk {
  display: inline-block !important;
}

.fx-delay-1 {
  -webkit-animation-delay: calc( calc( 400ms / 3 ) * 1 );
          animation-delay: calc( calc( 400ms / 3 ) * 1 );
}

.fx-delay-2 {
  -webkit-animation-delay: calc( calc( 400ms / 3 ) * 2 );
          animation-delay: calc( calc( 400ms / 3 ) * 2 );
}

.fx-delay-3 {
  -webkit-animation-delay: calc( calc( 400ms / 3 ) * 3 );
          animation-delay: calc( calc( 400ms / 3 ) * 3 );
}

.fx-delay-4 {
  -webkit-animation-delay: calc( calc( 400ms / 3 ) * 4 );
          animation-delay: calc( calc( 400ms / 3 ) * 4 );
}

.fx-delay-5 {
  -webkit-animation-delay: calc( calc( 400ms / 3 ) * 5 );
          animation-delay: calc( calc( 400ms / 3 ) * 5 );
}

.fx-delay-6 {
  -webkit-animation-delay: calc( calc( 400ms / 3 ) * 6 );
          animation-delay: calc( calc( 400ms / 3 ) * 6 );
}

.fx-delay-7 {
  -webkit-animation-delay: calc( calc( 400ms / 3 ) * 7 );
          animation-delay: calc( calc( 400ms / 3 ) * 7 );
}

.fx-delay-8 {
  -webkit-animation-delay: calc( calc( 400ms / 3 ) * 8 );
          animation-delay: calc( calc( 400ms / 3 ) * 8 );
}

@-webkit-keyframes spinRight {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

@keyframes spinRight {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
.fx-spin-right {
  -webkit-animation-name: spinRight;
       .........完整代码请登录后点击上方下载按钮下载查看

网友评论0