For the mobile design, I was having troubles to make the image inside the card to look exactly like the asked design. I think I got it right but I'm not sure. I just used "object-fit: none;", adjusted the height to make it more "squared" and that worked. If there's any way to make it better please let me know.
Hi, my name is Dom. I've been making websites on and off since 2002 or so. But more off than on. Recently, I've been getting back into it and really liking it.
I’m currently learning...C, Software Engineering Principles, Object-oriented Programming with Java, React, Tailwind CSS (+ Refactoring UI)
Latest solutions
Blog preview card HTML & CSS
Submitted 3 months agoThe vertical padding issues & the avatar and author name not being centered vertically
QR Code Component (HTML + CSS)
Submitted about 1 year agoA better technique for making and moving boxes around other than with colored borders would be nice. Other than that I think that it wasn't too difficult, even though now looking at it after 4 months of no html + css I wonder how i did it.
Thanks for your time!
Latest comments
- @cristianmdnWhat challenges did you encounter, and how did you overcome them?@dj4815
Looks good to me, the only thing I'm seeing is that the line height in the post description is too low
- P@arfath-ali@dj4815
Well done, @arfath-ali!
- I think you pretty much nailed the spacing of text and objects within the card element.
- The box-shadow is a bit too intense. Try lowering the opacity maybe. +- The card seems a bit small in comparison but maybe it is just the screenshot. The live preview looks correct to me.
- @dj4815What are you most proud of, and what would you do differently next time?
First, let me say that I have just discovered that I never uploaded this solution. It's been 4 months since I made this and I don't quite remember but apparently I wrote the css completely by hand which is quite an accomplishment.
What challenges did you encounter, and how did you overcome them?Again, I don't quite remember but it seems from the comments that I used colored borders to move stuff around, so that probably.
What specific areas of your project would you like help with?A better technique for making and moving boxes around other than with colored borders would be nice. Other than that I think that it wasn't too difficult, even though now looking at it after 4 months of no html + css I wonder how i did it.
Thanks for your time!
@dj4815Now that I've uploaded the solution I can see that the line spacing is off. I'll try to fix that. I think I had some trouble with justify-content and the like.