Latest solutions
Latest comments
- @Kristiana12@SaifN97
Great work on this one!👏👏
I'll suggest try using
em
units formargin
/padding
.When you use
em
units the spacing adjusts automatically depending on thefont-size
of the element as we shrink things down for mobile view.Have fun coding :)
- @indartaw@SaifN97
Hey Indarta, Good work on this one, Looks impressive as a first project!
I see you're using
div
to wrap everything which is not ideal..I'll suggest look more into using correct HTML elements
Have fun coding! :)
- @KhadeejathulHumaira@SaifN97
Hey Humaira, great work on this one!
I see you're mixing up css units and I remember struggling on that too.
I want to share a general rule of thumb that made it easier for me 👇..
%
forwidth
andheight
rem
for settingfont-size
em
formargin
andpadding
Have fun coding :)
Marked as helpful - @Carlos-A-P@SaifN97
Hey Carlos great job on this one!
I struggled on changing svgs color on hover too.. This pen helped me👇 Css filter
Marked as helpful - @Mahii143@SaifN97
Hey Mohamed Mahir great job on this one!
The card content is flowing out while going small. I'll suggest avoid setting a fixed
height
to your cards and usepadding
whenever you need more background space.Have fun coding :)
Marked as helpful - @maheenriaz@SaifN97
Good job on the challenge 👏👏
I am a big fan of sass too. They recently made a public notice on the deprecation of the @import rule, they are encouraging developers to use
@use
instead of@import
.PS: with the @use rule, your CSS partials will be namespaced.
Also I'll suggest looking more into the combo of using
rem
,em
and%
units instead of usingpx
as it helps alot with the responsiveness.Lastly try to avoid setting fixed heights and use paddings and margins instead.
Have fun coding! :)
Marked as helpful