div+css模拟Apple Vision PRO的App UI交互效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css模拟Apple Vision PRO的App UI交互效果代码
代码标签: div css 模拟 Apple Vision PRO App UI 交互
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* width */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
/* Track */
::-webkit-scrollbar-track {
background: #0a0a0a;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #ad3955;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #ad3955;
}
html,
body {
height: 100%;
width: 100%;
}
body {
background: #191919;
overflow: hidden;
}
.parallax {
width: 100%;
height: 100%;
}
.parallax img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: bottom;
}
.parallax > img {
filter: blur(2px);
}
.agumented-ui {
position: absolute;
left: 0;
bottom: 4rem;
width: 100%;
height: 100%;
display: grid;
place-items: center;
}
.ui {
width: 100%;
max-width: 800px;
display: flex;
gap: 5rem;
}
.agumented-ui .sidebar {
background: rgba(255, 255, 255, 0.35);
backdrop-filter: blur(10px);
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.5rem 0.25rem;
border-radius: 3rem;
box-shadow: 2px 2px 8px rgba(155, 155, 155),
inset 2px 2px 8px rgba(255, 255, 255);
width: 2.5rem;
height: fit-content;
margin: auto 0;
}
.agumented-ui .sidebar svg {
width: 1.5rem;
height: 1.5rem;
border-radius: 50%;
overflow: hidden;
position: relative;
z-index: 2;
margin: 0 auto;
cursor: pointer;
color: #555;
}
.agumented-ui .sidebar svg.selected {
color: #fff;
}
.selector {
position: absolute;
top: 0.25rem;
left: 0.25rem;
width: 2rem;
height: 2rem;
background: rgba(135, 135, 135);
box-shadow: 2px 2px 8px rgba(95, 95, 95),
inset 2px 2px 8px rgba(175, 175, 175);
border-radius: 50%;
}
.agumented-ui .icons {
display: flex;
flex-direction: column;
gap: 3.5rem;
}
.agumented-ui .icons .row {
display: flex;
justify-content: center;
gap: 3.5rem;
}
.agumented-ui .icons .row .app {
width: 5rem;
height: 5rem;
border-radius: 50%;
background: #ccc;
box-shadow: 2px 2px 8px #777, inset 2px 2px 8px #eee;
padding: 0.5rem;
display: grid;
place-items: center;
cursor: pointer;
}
.agumented-ui .icons .row .app img {
width: 3rem;
height: 3rem;
}
.logo-wrapper {
position: fixed;
bot.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0