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-ra.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0