Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

Responsive Actionable Article Preview Card

Tarek Islam•220
@tarekul
A solution to the Article preview component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am happy about interacting scripts to html and css. I am happy to be able to learn more about CSS positioning.

What challenges did you encounter, and how did you overcome them?
  • Positioning the share button and social media icons
  • Positioning the social media icons
  • Transitioning the social media icons to fade in and out

I overcame this by learning to use margin-left: auto to automatically move the share button left as possible. I also learned to use negative margin values to overwrite padding for the social container. I've learned to use visibility and opacity to create animatable properties.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Tarek Islam's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

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