lab3 done all

This commit is contained in:
2025-10-31 00:22:54 +10:00
parent c0c5d4dbcd
commit 0b2a468083

View File

@@ -1,6 +1,6 @@
h3{
text-align: center;
margin: 2vh;
margin: 1vh;
}
a{
@@ -21,7 +21,7 @@ a{
.topic > b{
display: block;
width: 50%;
width: 40%;
}
.topic * {
display: inline-block;
@@ -36,7 +36,7 @@ a{
margin: 10px ;
background-color: white;
}
@media (max-width:700px) {
@media (max-width:800px) {
.content{
display: flex;
flex-direction: column;
@@ -45,4 +45,24 @@ a{
width: calc(100%-20px);
/* width:50%; */
}
}
/* grid part */
p{
margin: 5px auto;
max-width: 600px;
display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 1fr;
grid-gap: 5px;
}
p > a{
background-color: lightgray;
text-decoration: none;
color: black;
text-align: center;
}
p> :first-child{
background-color: lightgreen;
}