Add CSS assignment - responsive profile page - #4
Open
dianadenwik wants to merge 1 commit into
Open
dianadenwik wants to merge 1 commit into
dianadenwik wants to merge 1 commit into
Conversation
| max-width: 100%; | ||
| } | ||
|
|
||
| @media (min-width: 600px) { |
There was a problem hiding this comment.
Well done one making mobile-first!
Comment on lines
+51
to
+56
| #contact-form { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 1rem; | ||
| width: 20rem; | ||
| } |
There was a problem hiding this comment.
As required, you used flex in the contact form. Well done!
Comment on lines
+96
to
+100
| :focus-visible { | ||
| outline: 3px solid #6366f1; | ||
| outline-offset: 3px; | ||
| border-radius: 4px; | ||
| } |
There was a problem hiding this comment.
Well done in the accescibility approach!
Comment on lines
+116
to
+122
| @media (prefers-reduced-motion: reduce) { | ||
| *, | ||
| *::before, | ||
| *::after { | ||
| transition-duration: 0.01ms; | ||
| } | ||
| } |
| display: grid; | ||
| grid-template-columns: 2fr 1fr; | ||
| gap: 2rem; | ||
| padding: center; |
There was a problem hiding this comment.
According to padding documentation, center value is not possible. How would you change it?
Comment on lines
+58
to
+63
| img { | ||
| border-radius: 50%; | ||
| width: 10rem; | ||
| height: 10rem; | ||
| max-width: 100%; | ||
| } |
There was a problem hiding this comment.
All img are receiveing this format. Which means that all images are going to be a circle. How would you apply this only for the avatar?
Comment on lines
+85
to
+93
| .contact { | ||
| grid-column: 2; | ||
| border-left: 1px solid #ccc; | ||
| padding-left: 2rem; | ||
| background-color: #9fa480; | ||
| border-radius: 5%; | ||
| padding: 2rem; | ||
| padding-top: 4rem; | ||
| } |
There was a problem hiding this comment.
And contact form only has a background in Desktop view. For mobile and tablet this formatting is not being applied
Comment on lines
+133
to
+135
| button[type="submit"]:hover { | ||
| background-color: #4c3f02; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.