css布局实现黑色大气书签页面ui交互效果代码
代码语言:html
所属分类:布局界面
代码描述:css布局实现黑色大气书签页面ui交互效果代码
代码标签: css 布局 黑色 大气 书签 页面 ui 交互
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.5.0.css">
<style>
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
outline: none;
box-sizing: border-box;
}
:root {
--theme-bg-color: #0e0e0e;
--theme-color: #fff;
--theme-inactive-color: #5c5c5c;
--body-font: "Poppins", sans-serif;
--border-color: #252424;
--card-color: #131a1a;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
padding: 2em;
color: var(--theme-color);
font-family: var(--body-font);
background-color: #1b1b1b;
}
@media (max-width: 480px) {
body {
padding: 0.5em;
}
}
.app {
background-color: var(--theme-bg-color);
width: 100%;
max-width: 1200px;
height: 92vh;
max-height: 900px;
border-radius: 20px;
overflow: hidden;
display: flex;
position: relative;
}
.sidebar {
flex-basis: 284px;
display: flex;
flex-direction: column;
height:.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0