Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • srglbrkchnβ€’ 260

    @srglbrkchn

    Posted

    Hi,

    How about :

    .card_container { margin: 10px auto; }

    10px does not matter, it's margin of top and bottom, you can set it to 0 if you wish. The auto, centers the card, it represents left and right margin. And then you can remove position: absolute and left property.

    Happy coding!

    1
  • Samson Shamβ€’ 140

    @samsonsham

    Submitted

    I got 2 questions in this challenge.

    1. I put a violet colour overlay on top of the image but the colour is way too difference from the design. Style guide has no instruction to that. How could I make the colour as the design does?

    2. I don't know how to determine the media query breakpoint for my responsive design. Style guide said Mobile: 375px, Desktop: 1440px. What does it mean? I try to use (min-width: 1440px) as desktop breakpoint but it doesn't seems to be a correct way to me. Could anybody give me some ideas how to start working with responsive design?

    srglbrkchnβ€’ 260

    @srglbrkchn

    Posted

    Hey Samson,

    I guess the answer to your first question is this:

    img { background-color: hsl(277, 64%, 61%); mix-blend-mode: multiply; }

    you should set the background color of your image to the color you want to mix with your image, here it was hsl(277, 64%, 61%). And then set mix-blend-mode to multiply. They will get mixed and give you the color you wanted.

    About your second question, I do exactly what you did in your code, except I only specify the size of tablet and mobile, since desktop or bigger are the default design so I don't bother with them.

    Hope this helps.

    Marked as helpful

    1
  • srglbrkchnβ€’ 260

    @srglbrkchn

    Posted

    Thnx a lot. That was the impression I was aiming for.

    0
  • srglbrkchnβ€’ 260

    @srglbrkchn

    Posted

    Hey, Found and fixed. Thanks for letting me know. Really appreciate it .

    0