jquery+svg实现一个音乐app ui效果代码
代码语言:html
所属分类:布局界面
代码描述:jquery+svg实现一个音乐app ui效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html>
<head>
<style>
:root {
--blue-bubble: #bbe6f3;
--small-b-bubble: #bae5f2;
--pink-bubble: #ebc7e5;
--font-color: #063064;
}
* {
box-sizing: border-box;
}
*:focus {
outline: none;
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden
}
body {
background-color: #303030
}
.container {
background-color: #f3fcfd;
width: 800px;
height: 600px;
margin: 60px auto;
position: relative;
overflow: hidden;
border-radius: 6px;
}
.bubble {
position: absolute;
border-radius: 50%;
}
.pink-bubble {
width: 460px;
height: 460px;
right: -160px;
top: -110px;
background-color: var(--pink-bubble);
}
.blue-bubble {
width: 520px;
height: 520px;
left: -30px;
top: 345px;
background-color: var(--blue-bubble);
}
.small-b-bubble {
width: 50px;
height: 50px;
right: 40px;
bottom: 85px;
background-color: var(--small-b-bubble);
}
.small-p-bubble {
width: 105px;
height: 105px;
left: -45px;
top: 140px;
background-color: var(--pink-bubble);
}
.app-ui {
background-color: #fff;
width: 235px;
height: 500px;
position: absolute;
left: 140px;
top: 35px;
border-radius: 30px;
box-shadow: 2px 14px 40px -20px rgba(0, 0, 0, 0.2);
}
.left-ui {
overflow: hidden;
}
.right-ui {
left: 435px;
top: 60px;
box-shadow: -6px 14px 40px -20px rgba(0, 0, 0, 0.2);
background-color: #bbe6f3;
}
.inside-right {
left: 0;
top: 70px;
height: 430px;
}
.header {
font-family: "Fjalla One", sans-serif;
color: var(--font-color);
display: flex;
justify-content: space-between;
align-items: center;
width: 235px;
padding: 27px 27px 21px 27px;
font-size: 22px;
}
.menu-line {
border: 1px solid var(--font-color);
width: 25px;
border-radius: 50px;
}
.menu-line:before {
content: "";
position: absolute;
top: 45px;
left: 197px;
border: 0.05em solid;
width: 8px;
border-radius: 50px;
}
.menu-line:after {
content: "";
position: absolute;
top: 45px;
left: 190px;
border: 0.05em solid;
width: 3px;
border-radius: 50px;
}
.left-menu-bar {
position: relative;
font-family: "Roboto", sans-serif;
color: var(--font-color);
left: -5px;
}
.ur-playlist {
font-size: 11px;
font-weight: 500;
transform: rotate(270deg);
position: absolute;
left: 2px;
top: 40px;
cursor: pointer;
}
.playlist-icon {
width: 11px;
position: absolute;
left: 28px;
top: -6px;
cursor: pointer;
}
.like-recent {
position: absolute;
top: 110px;
}
.recent {
left: 18px;
top: 90px;
}
.recent-detail {
width: 4px;
height: 4px;
background-color: var(--font-color);
position: absolute;
top: 95px;
left: 15px;
border-radius: 50%;
}
.like {
left: 25px;
top: 140px;
color: #aeb8cc;
}
.like:hover {
color: var(--font-color);
}
.album-img {
position: relati.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0