css布局实现盒式录音带播放音乐效果代码

代码语言:html

所属分类:动画

代码描述:css布局实现盒式录音带播放音乐效果代码

代码标签: 盒式 录音带 播放 音乐 效果

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


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

<head>

  <meta charset="UTF-8">
  

  
  
  
  
<style>
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}
button {
  border: none;
}
body {
  background-color: #f3c74b;
}
section {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction:column;
}
p{
  font-size: 14px;
  margin-top: 30px;
  color:#612700;
  font-weight:bold;
}
a{
  color:#C80312;
  text-decoration:none;
}
.wrapper {
  min-width: 290px;
  height: 320px;
  background: rgb(19, 19, 27);
  background: linear-gradient(
    0deg,
    rgba(19, 19, 27, 1) 0%,
    rgba(40, 41, 46, 1) 100%
  );
  border-radius: 17px;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 5px 15px;
}
.polka-dot {
  width: 180px;
  height: 23px;
  background-image: .........完整代码请登录后点击上方下载按钮下载查看

网友评论0