课程代码

This commit is contained in:
zpooi
2025-12-03 23:08:39 +08:00
commit 290f629d2c
63 changed files with 7065 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-size: 24px;
}
.container {
display: flex;
flex-direction: column;
height: 100vh;
}
header {
background-color: #9a9bb4;
height: 80px;
line-height: 80px;
text-align: center;
}
main {
background-color: blue;
flex: 1;
display: flex;
}
main nav {
background-color: #9a9bb4;
float: left;
}
.content {
background-color: #e8d5d5;
/* width: 500px; */
margin-left: auto;
text-align: center;
flex-direction: column;
flex: 1;
}
.clearfiexd::after {
content: "";
height: 0;
display: block;
clear: both;
visibility: hidden;
}
.content img {
width: 500px;
}
.content button {
margin-top: 20px;
margin-right: 20px;
padding: 5px;
}
footer {
text-align: center;
}

View File

@@ -0,0 +1,49 @@
* {
margin: 0;
padding: 0;
font-size: 24px;
box-sizing: border-box;
}
ul li {
list-style: none;
}
.sub-menu {
display: none;
}
ul>li:hover .sub-menu {
display: block;
}
a {
text-decoration: none;
color: inherit;
}
.main-menu li {
background-color: #c22fef;
color: aliceblue;
border-radius: 2px;
text-align: center;
}
.main-menu>li {
width: 200px;
border: 1px solid #77049a;
margin: 1px 3px;
}
li:hover {
background-color: #a93aca;
}
/* div {
border: 20px solid red;
border-left-color: transparent;
border-right-color: transparent;
border-bottom-color: transparent;
display: inline-block;
} */