@akrammanfouai
Submitted
(I didn't get to make the mobile version, If someone can help me I would be grateful.)
@viditvarshney
@akrammanfouai
Submitted
(I didn't get to make the mobile version, If someone can help me I would be grateful.)
@viditvarshney
Posted
Hi Akram,
Congratulations on submitting the solution.
For Mobile designs, You can use the media queries
in CSS. This will help you to target specific screen sizes.
You can refer to this solution for mobile design: Click Here
User Prefers mobile-friendly websites more over desktop versions. Even the big tech players don't more focus on their websites. Ex. Facebook, Instagram.
You can see their web versions, you feel there are so many empty spaces, errors, etc...
Because 99% of traffic came from mobile users.
Marked as helpful
@DarkGamer2
Submitted
@viditvarshney
Posted
Hey Kameer!
Congratulations on completing this challenge. For a better solution, I have some feedback on your solution.
border-radius
.<p>
tagMarked as helpful
@viditvarshney
Submitted
@viditvarshney
Posted
-->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
` @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;
}
} `