Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
3
Comments
15

Dreamleaf

@DreamleafKent, UK230 points

Frontend stuff & Drupal Development Nifty with photoshop, after effects and other adobe goodness to create nice things.

Latest solutions

  • Blog Preview Card (loving the yellow.. go bees!)


    Dreamleaf•230
    Submitted over 1 year ago

    0 comments
  • Four Card Feature using Grid & a nifty background gradient for colors


    Dreamleaf•230
    Submitted over 1 year ago

    0 comments
  • QR Code layout using Grid


    Dreamleaf•230
    Submitted over 1 year ago

    0 comments

Latest comments

  • Germán Guerrero•170
    @GermanGuerreroR
    Submitted over 1 year ago

    Blog-preview-card

    1
    Dreamleaf•230
    @Dreamleaf
    Posted over 1 year ago

    Generally very good, but you have some problems with the card width changing on different viewport sizes.

    For example, the image could be placed without a wrapper element to fix that section - or you could add display: contents; to the .header__bg class.

    The html could also be simplified by reducing the number of wrapper divs you are using, I approach these types of layouts with the following structure:

    main.card

    img (no wrapper needed) aside (the tag and post date) div.content (title and teaser text) user info (could wrap in a semantic aside or footer if desired) close main

    You can center everything using flex or grid on the body, and add a standard padding to the .card. This way you may just need to tinker with specific sizings in a media query if needed.

    Hope this is helpful! And have a great christmas!

    Marked as helpful
  • Alysson Gomes•470
    @EONRaider
    Submitted over 1 year ago

    Responsive HTML5/CSS3 Blog Preview Card

    #cube-css#bem
    1
    Dreamleaf•230
    @Dreamleaf
    Posted over 1 year ago

    Looks great, the only thing I think could improve is to add some padding or margin on mobile view to stop the card hitting the sides.

  • Manish Patel•740
    @savvystrider
    Submitted over 1 year ago

    Blog preview card with small animation

    1
    Dreamleaf•230
    @Dreamleaf
    Posted over 1 year ago

    I really like the additional pulse animation from the user image, however while adding that you have missed the card hover transition.

    The box-shadow should grow on hover. I'm assuming that if you can create the cool additions that this was just an oversight.

    Marked as helpful
  • Josh Michael•1,070
    @joshmichael23
    Submitted over 1 year ago

    Preview Card using Flexbox

    1
    Dreamleaf•230
    @Dreamleaf
    Posted over 1 year ago

    Generally looks good.

    I note that you missed the interactive elements though.

    It should have a hover to the yellow on the title link and the box shadow should grow on hover.

    Both are pretty simple to add in, but overall you did a great job.

    Marked as helpful
  • Bazel•40
    @8BitSoda
    Submitted over 1 year ago

    QR Code Component

    2
    Dreamleaf•230
    @Dreamleaf
    Posted over 1 year ago

    A couple of points about the text elements in the card.

    1. You have both the title and text within p tags, ideally there should be a heading within the element. So you could have made the "improve your...." text a h1 element. In a real world situation, there would likely be other things on the page and the title may be better suited as a h2.

    2. You have both text sections set with a single font size, the design has them differently - and while there is a bit of trial and error needed, you could have styled them accordingly.

    3. When you declare the font - always include a fall back font if the main choice is being pulled in from an external source. This way if there is an issue with the fonts loading, you still control how it looks. For this you just need to write: font-family: outfit, sans-serif;

    4. Look at using REMs for the font sizing instead of PX values, definitely have a read up on the difference and why it is better.

    Keep going though, every time you write code it will improve.

  • Rajeev Bhardwaj•10
    @rj-Rajeev
    Submitted over 1 year ago

    QR code component

    1
    Dreamleaf•230
    @Dreamleaf
    Posted over 1 year ago

    Neatly done, good job!

    One practice that is good to get into the habit of doing, even on smaller projects, is to separate the CSS into it's own file. While it doesn't impact challenges like this, in the real world the separation of html and css is standard, so it's just good to do :)

View more comments

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

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