Anyone can help me with this, i already add media query to my project but its still going wrong here’s my code:
@media screen and (max-width: 800px) {
#navbar{
display: flex;
flex-direction: column;
}
}
Challenge: Technical Documentation Page - Build a Technical Documentation Page
Link to the challenge:
Hello.
And what is your full code?
What issue says the challenge?
Grets.
the issue says
Your Technical Documentation project should use at least one media query.
this my css file
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
min-width: 290px;
color: #4d4e53;
background-color: #ffffff;
font-family: 'Open Sans', Arial, sans-serif;
line-height: 1.5;
margin: 0 auto;
}
#navbar{
position: fixed;
min-width: 290px;
top: 0px;
left: 0px;
width: 300px;
height: 100%;
border-right: solid;
border-color: rgba(0, 22, 22, 0.4);
}
header{
color: black;
margin: 10px;
text-align: center;
font-size: 1.8em;
}
#navbar ul {
height: 88%;
padding: 0;
overflow-y: auto;
overflow-x: hidden;
}
#navbar li {
color: #4d4e53;
border-top: 1px solid;
list-style: none;
position: relative;
width: 100%;
}
#navbar a {
display: block;
padding: 10px 30px;
color: #4d4e53;
text-decoration: none;
cursor: pointer;
}
#main-doc{
position: relative;
margin-left: 310px;
margin-right: 20px;
text-align: justify;
overflow: auto;
border-width: 10px;
}
code {
border-width: 2px;
border-color: #92869c;
padding: 5px;
color: black;
}
@media screen and (max-width: 800px) {
#navbar{
display: flex;
flex-direction: column;
}
}
alredy fixed im forget to rename my css styles file
system
Closed
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.