模仿iphone苹果手机浏览器Safari 多选项卡效果
代码语言:html
所属分类:视觉差异
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
.fake-text {
width: 80%;
height: 6px;
background-color: rgba(220, 216, 216, 0.6);
margin: 4px 0;
border-radius: 8px;
}
.fake-text-gap {
margin-bottom: 8px;
}
.fake-picture {
width: 100%;
height: 40%;
background-color: rgba(220, 216, 216, 0.6);
margin: 16px 0;
border-radius: 12px;
}
.fake-list {
font-size: 14px;
margin: 16px 0;
}
.list-bullet-ul, .list-bullet-ol {
margin-bottom: 8px;
display: grid;
grid-gap: 4px;
grid-auto-flow: row;
grid-template-columns: 20px 1fr;
justify-content: center;
align-items: center;
}
.list-bullet-ul > div:nth-of-type(1) {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: rgba(220, 216, 216, 0.6);
margin: 0 8px;
}
.list-bullet-ol > div:nth-of-type(1) {
color: rgba(220, 216, 216, 0.6);
font-size: 12px;
text-align: center;
margin-left: 2px;
}
.fake-list-item {
width: 60%;
height: 6px;
background-color: rgba(220, 216, 216, 0.6);
border-radius: 8px;
}
.fake-grid {
margin: 16px 0;
display: grid;
grid-auto-flow: row;
grid-template-columns: repeat(4, 1fr);
grid-gap: 8px;
}
.fake-grid > div {
height: 60px;
background-color: rgba(220, 216, 216, 0.6);
border-radius: 8px;
}
:root {
--bottom-controls-bgc: rgb(58, 58, 58);
--bottom-controls-fgc: rgb(71, 148, 242);
}
body {
margin: 0;
background-color: black;
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.display-wrapper {
position: absolute;
top: 0;
left: 0;
transform-origin: 0px 0px;
}
.the-display {
overflow: hidden;
position: relative;
}
.browser-tab-normal {
box-sizing: border-box;
transition: transform 0.4s ease-out;
transform-origin: 50% 50%;
position: absolute;
top: 0;
left:.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0