css布局实现苹果iphone手机的液态玻璃视觉差异ui效果代码
代码语言:html
所属分类:视觉差异
代码描述:css布局实现苹果iphone手机的液态玻璃视觉差异ui效果代码
代码标签: css 布局 苹果 iphone 手机 液态 玻璃 视觉 差异 ui
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
background: #111;
display: flex;
align-items: center;
justify-content: center;
font-family: system-ui;
color: white;
}
.dark-glass {
background: rgba(0,0,0,0.1);
border-radius: 25px;
backdrop-filter: blur(4px);
border: 2px solid rgba(0,0,0,0.2);
}
.glass {
background: rgba(255,255,255,0.1);
border-radius: 25px;
backdrop-filter: blur(4px);
border: 2px solid rgba(255,255,255,0.2);
}
.iphone {
width: 350px;
height: 700px;
border-radius: 60px;
background-image: URL('//repo.bfw.wiki/bfwrepo/image/63829c2f1dabd.png');
background-position: center center;
position: relative;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0