ekando
@elliottkanAll comments
- @Miss-BentilSubmitted about 2 years ago@elliottkanPosted about 2 years ago
Nice work!
Noticed 2 minor things!
- Desktop image scaling issues when screen res is getting scaled down
- Just a nice little effect. Could add
transition: ease-in-out 0.3ms' to your
button` element
Hope this helps! Perhaps you could check my project out and offer some feedback too!
0 - @MojisolasmilesSubmitted about 2 years ago
Positioning the card after resizing was extremely difficult and I had to do a lot of manipulations. I need a better understanding of INLINE-FLEX
@elliottkanPosted about 2 years agoHey!
Flexbox is definitely quite a tough beast to love! I like to think about breaking them down into small sized pieces for styling.
- I would add a
max-width
to the container to address the sizing issue instead of using margin.
- You could also remove the div class container OR content since one of the divs are currently not doing anything, I would apply the background colour to the entire html element instead through
*
. By doing this, your.attribution
should sit directly underneath your card.
-
Play around with
@media
so the layout changes for responsive mobile design. You could then applyflex-direction:
to address the change in layout. -
I believe it is best practice to use
em
as opposed topx
for styling to cater for mobile first designs. -
Look at HTML semantics to understand better how to label your content, there are several
h
elements within your.wordings
div. I believe the h4 could be replaced with<p>
but I'm pretty new to this game still. -
could apply a
width:100%
to yourimg
so it fits within container.
I would recommend Kevin Powell to get some better understanding with CSS, he's an absolute weapon
Hope this helps!
0 - I would add a
- @D4R0MSubmitted about 2 years ago@elliottkanPosted about 2 years ago
Hey Joseph,
Looks good! I recently finished my own challenge recently!
- I've been told in the past that using
em
is preferable overrem
orpx
. There seems to be some inconsistencies in that aspect in your code base. - perfume currently lowercase.
- Using the
text-transform: uppercase;
on your .tag could address some styling inconsistencies. Just an FYI incase this was a deliberate styling choice.
- The mobile layout seems to not have the photo loading issues but not sure if it's just me.
- Shop Button only easing in but not out.
- I think applying
transition: all 0.3s ease-in-out;
to the button element will resolve the issue
- Ease-in-out elements are animating upon load.
- Using a CSS reset would be good, this will remove the ease-in effects upon loading. CSS for animations.
Good work! Hopefully you can have a look through my codebase and give me some feedback too!
0 - I've been told in the past that using