css实现带左侧导航条pc端列表页悬浮放大效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现带左侧导航条pc端列表页悬浮放大效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<style>
body {
font-family: 'Roboto';
background-image: linear-gradient(-90deg , #3f5efb, #15175b);
display: grid;
place-items: center;
margin: 0;
min-height: 100vh;
}
.page {
position: relative;
display: grid;
grid-template-columns: 200px auto;
background-image: linear-gradient(-70deg , #f5f7ff, #c7c7c7);
height: 600px;
width: 80%;
margin: 40px 0;
border-radius: 80px;
}
.menu {
margin: 20px;
border-radius: 60px;
box-sizing: border-box;
list-style-type: none;
height: calc(100% - 40px);
width: 160px;
background-image: linear-gradient(-40d.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0