This is my first so-called project therefore be kind. Could you please check the positioning and the margin/borders/padding etc.? I still feel a way lost :)
Antoine
@Antoine-FloAll comments
- @PetraU11Submitted almost 4 years ago@Antoine-FloPosted almost 4 years ago
Hi Petra π Great job it looks nice π As Yellow-May said, you have to center this card, which isn't easy.
You have few solutions for that :
- display the container as grid or flexbox, then center the content with justify-content and align-items.
- apply
margin : 0 auto;
on your element (but you know that) - use absolute positioning then =>
left: 50%;
(withtransform: translateX(-50%)
)
All of this techniques has quirks and conditions and you'll have to learn by experimenting π happy coding !
0 - @Yellow-MaySubmitted almost 4 years ago
Anything is fine, Thank you.
@Antoine-FloPosted almost 4 years agoHi Onyekwere Precious π
Good job it looks really nice π but why did you use a min-width on your body π€ try to remove it and your layout will response nicely when you reduce the screen size.
Apart from that, it looks really nice, keep coding π
0 - @hassanahmadpSubmitted almost 4 years ago
Please give me feedback
@Antoine-FloPosted almost 4 years agoHi Muhammad ! π
Great job, it looks really nice ! If I had a suggestion, try to avoid using a fix height for the grid raw for the mobile layout. From your breakpoint at 940px, because of the fixed height there is a huge empty space in the Daniel Clifford card.
And I'm not sure you have to specify
grid-column: auto; grid-row: auto;
at the end of your css, it should be the default behavior (but maybe I'm mistaken).Anyway nice job again π
1 - @TheMihirSenseiSubmitted about 4 years ago
Feedback plz
@Antoine-FloPosted about 4 years agoHi TheMihir π good job, your design comparison looks nice.
Anyway, your layout isn't responsive right now, you have to find ways to fix your design so it doesn't move everywhere when the screen size changes.
- Float properties are nice but you should also use flexbox, to help you organize your elements with more control.
- Apply a
max-width
to your container so it doesn't stretch on big screens - I wouldn't use the
bg-pattern-desktop
as a background-image, but as animg
in your html, like the woman (with absolute positioning). - Notice that the 'woman' picture changes when in mobile size. You don't have to use the box anymore but the other illustration in you images folder.
Keep coding, layouts are challenging at first but it gets easier π
2 - @Yemisrach15Submitted about 4 years ago
Any kind of feedback would be appreciated!
@Antoine-FloPosted about 4 years agoHi Yemisrach15 π Great job, the design comparison is like pixel perfect π it's impressive.
If I had a suggestion, you should apply a
max-width
to your div wrapper, so your layout doesn't stretch too much on big screen.Apart from that, your CSS style sheet is way cleaner than mine π Good luck and happy coding !
2 - @ashwin366Submitted about 4 years ago
Any valuable feedback is appreciated..
@Antoine-FloPosted about 4 years agoHi Ashwin π nice job !
A suggestion :
- You should wrap all your layout inside a div 'container', and apply a max-width so your design doesn't stretch in a weird way on larger screen.
It looks good, keep coding π
0 - @biancahppSubmitted about 4 years ago
I'm satisfied with how it turned out but not satisfied with the orange box. I had to put it to position: absolute in order to make it work. I would really appreciate some suggestions on how to improve that (and everything else too).
I'm still working on the mobile version so disregard that.
=)
@Antoine-FloPosted about 4 years agoHi Bianca ! π Yeah this box is tricky, it took me a while to figure it out as well.
My suggestion :
- Right now each time we open a question it stays open, even if we open a new one. Eventually if you open all the questions it extend out of the card. Try to find a way to close the previous question each time a new one is opened (I have the same issue in my design π ).
Great job π and good luck !
0 - @Antoine-FloSubmitted about 4 years ago
Very nice challenge, I used CSS variables to change all the layout without too much trouble, any comment is welcome.
@Antoine-FloPosted about 4 years agoThanks ApplePieGiraffe, your solution to this challenge inspired me π
1