js+css实现悬浮阴影特效的待办事项效果代码
代码语言:html
所属分类:悬停
代码描述:js+css实现悬浮阴影特效的待办事项效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap" rel="stylesheet">
<style>
body {
background-color: #f1f1f1;
color: #666;
margin: 0;
font-family: "Courier New";
font-family: "Raleway", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
h1 {
background-color: white;
padding: 15px;
margin: 0px;
margin-top: 20px;
margin-bottom: 20px;
border-radius: 3px;
width: 500px;
box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.2);
display: block;
}
ul#main {
display: flex;
flex-direction: column;
min-height: 600px;
justify-content.........完整代码请登录后点击上方下载按钮下载查看
网友评论0