Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Results-summary-component-solution

@viditvarshney

Desktop design screenshot for the Results summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@viditvarshney

Posted

  • Pls help me to design for mobile devices.

-->I just messed it up.

--> I'm using a media query but do not get the output as desired.

--> TOP content of the div is not visible

View Source Code

` @media (max-width: 900px) {

html {
    display: block;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
.outer-box {
    width: 500px;
    
    height:800px;
    
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    
}
.sub-box {
    width: 400px;
    height: 800px;
    border-radius: 0;
    padding-bottom: 10px;
}
.result {
    
}
.summary {
    border-radius: 0;
}

} `

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord