js+css实现经典带点击声效计算器代码

代码语言:html

所属分类:其他

代码描述:js+css实现经典带点击声效计算器代码

代码标签: js css 经典 点击 声效 计算器 代码

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

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

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


  
<style>
@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap");
/* Seven segment 
 *  from https://www.kraftilab.com/ 
 */
@font-face {
  font-family: "Seven Segment";
  src: url("//repo.bfw.wiki/bfwrepo/font/Seven+Segment.ttf");
}
@font-face {
  font-family: "Mona Sans";
  src: url("//repo.bfw.wiki/bfwrepo/font/Mona-Sans.woff2") format("woff2 supports variations"), url("//repo.bfw.wiki/bfwrepo/font/Mona-Sans.woff2") format("woff2-variations");
  font-weight: 100 1000;
}
@supports (background: paint(something)) {
  @layer properties {
    @property --base-hue {
      syntax: "<number>";
      inherits: true;
      initial-value: 0;
    }
    @property --gradient-start {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --gradient-stop {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --box-shadow-1 {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --box-shadow-2 {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --box-shadow-3 {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --box-shadow-4 {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --box-shadow-5 {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --inner-background-start {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --inner-background-stop {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --inner-box-shadow-1 {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --inner-box-shadow-2 {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --inner-box-shadow-3 {
      syntax: "<color>";
      inherits: true;
      initial-value: 0;
    }
    @property --inner-.........完整代码请登录后点击上方下载按钮下载查看

网友评论0