Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

responsive design 1 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

responsive design 1 #1

wants to merge 1 commit into from

Conversation

sachben91
Copy link
Owner

Copy link
Collaborator

@Mister-Corn Mister-Corn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minimum Viable Product

  • Review each design file. Notice the subtle differences between them all.
  • Insert a viewport meta tag into the head of the project with these html attributes: content="width=device-width, initial-scale=1"
  • Introduce max-width media queries into your project at 800px and 500px
  • Do your best to make your styles match the design files at each breakpoint

Comments

All in all, good job! 🎉 The only crazy thing that is happening is the logo disappears in tablet mode. Also check out my comments.


.details{
display: flex;
justify-content: space-around;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The margins on details seem to be inconsistent with the rest of the page. That might be because you are using space-around, which would put space between the first and last elements within the flex container. Try space-between instead.

justify-content: center;
align-items: center;
}
nav :nth-child(7) {order:1;}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logo disappears in tablet mode. Not sure what the cause of it is, through try adding width: 100%; or otherwise messing with the size of the image, as the image is on the page.

My console also says something about flex-shrink. Maybe flex-shrink shrank it too much?

}

nav img{
padding: 10px;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently putting padding on images distorts them. Assume the image's content extends all the way to the portal and use margin instead.

margin-top: 20px;
}
.App-dev .ios {
border: 1px solid black;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next time, use comments to specify if a part of the CSS is being applied to the another page (since this CSS file is providing styles to two pages, index and about). That would make this more readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants