Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
8
Comments
7
Marie Pascale Brunelle
@mpbrunelle

All comments

  • kefiiiiR•70
    @kefiiiiR
    Submitted about 3 years ago

    Column Preview, HTML/CSS

    2
    Marie Pascale Brunelle•230
    @mpbrunelle
    Posted about 3 years ago

    Hi kefiiiiR,

    To answer your question about the alignment of the buttons:

    If you add a display: flex on each card, you could then add a flex-grow: 1 on each .card-description element. By default, flex-grow is set to 0, which means that each element never takes more space than the minimum. If you set this property to 1 on .card-description and not on the other elements, .card-description take all the space available and push the other elements to the top and bottom.

    Hope this helps.

    Marked as helpful
  • Mouad P7•50
    @mouad-P7
    Submitted about 3 years ago

    Stats preview card component (made with html and css only).

    2
    Marie Pascale Brunelle•230
    @mpbrunelle
    Posted about 3 years ago

    Hello Moad,

    To change the color of the image, you could explore <blend-mode> (used with the properties mix-blend-mode and background-blend-mode).

    MDN documentation

    Here is what worked for me :

    .img {
    	mix-blend-mode: multiply;
    	opacity: 0.75;
    }
    
    Marked as helpful
  • Jose Sanchez•380
    @JRS-Developer
    Submitted over 3 years ago

    Stats Preview Card

    #accessibility#bem
    1
    Marie Pascale Brunelle•230
    @mpbrunelle
    Posted over 3 years ago

    Nice work, @JRS-Developer

    Instead of adding an overlay on the image with a pseudo-element, you could use a blend mode on the image, like this:

    .img {
    	mix-blend-mode: multiply;
    	opacity: 0.75;
    }
    
    Marked as helpful
  • Kenny•40
    @PomPoko-lab
    Submitted over 3 years ago

    Stats preview Responsive with Flexbox and CSS Grid

    #accessibility
    3
    Marie Pascale Brunelle•230
    @mpbrunelle
    Posted over 3 years ago

    @PomPoko-lab By the way, the tutorials mentioned above are free.

  • Kenny•40
    @PomPoko-lab
    Submitted over 3 years ago

    Stats preview Responsive with Flexbox and CSS Grid

    #accessibility
    3
    Marie Pascale Brunelle•230
    @mpbrunelle
    Posted over 3 years ago

    @PomPoko-lab

    You did a great job reproducing the two layouts. However, to make your layout adapt to the viewport width, you might want to look into max-width, widths set in percentages, functions like min(), max(), calc(), clamp().

    Here are some tutorials that might help you: https://courses.kevinpowell.co/view/courses/conquering-responsive-layouts

    Marked as helpful
  • carlin-mitchell•20
    @carlin-mitchell
    Submitted over 3 years ago

    Responsive card using flexbox and lots of googling

    2
    Marie Pascale Brunelle•230
    @mpbrunelle
    Posted over 3 years ago

    Hello,

    CSS-tricks has published two articles on sticky footer that might help you solve your problem:

    • Sticky Footer, Five Ways
    • A Clever Sticky Footer Technique

    Good luck!

    Marked as helpful
  • Md Ajmal Shadab•410
    @mdajmalshadab
    Submitted almost 4 years ago

    Huddle landing page with a single introductory HTML and CSS

    2
    Marie Pascale Brunelle•230
    @mpbrunelle
    Posted almost 4 years ago

    Hello,

    Nice work. To solve the background problem, you could set the background-size property to cover on the body in the desktop media query:

    background-size: cover;

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub