# CSS笔记 ## 尺寸 ```css height: 80vh; width: 80vw; line-height: 40; 字体粗细 font-weight: bold; ``` ## 滚动条 ```css 隐藏底部滚动条 overflow-x: hidden; overflow-y: scroll; ``` ## 背景 ```css 透明背景 background: none; 背景颜色 background-color: #4472c4; 背景图片 background-image:url('./assets/img/bg13.png'); background-size: cover; background-position: center; background-repeat: no-repeat; ``` ## 边框 ```css 立体阴影边框 box-shadow: 0 0 25px #cac6c6 !important; ```