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

Submitted

Responsive Profile Preview Card Component (Flexbox)

Spiritā€¢ 220

@git-ritesh

Desktop design screenshot for the Profile card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi there šŸ‘‹, Iā€™m Spirit and this is my solution for this challenge. šŸš€ Difficulties :

  • Adding Multiple SVGs to the background was quite difficult for me.

My approach :

  • I tried to add SVGs in the html and then give it a position and z-index to add both the top & bottom SVGs but it didn't worked properly because when i stretched the page to check its responsiveness it failed the SVGs dislocated from their prior position.

  • Then I seeked help from my community & got to know about specifying Multiple Backgrounds in CSS Ruleset and used background-image property in the body tag and separated both SVGs with commas and specify the properties related to backgrounds using the same. Then it got fixed.

I am still unsure of the thing that is this the only best approach to add multiple backgrounds or SVGs in the background ?

Any suggestions on how I can improve and reduce unnecessary code are welcome!

Thank you. šŸ˜ŠāœŒļø

Community feedback

sankalp kumarā€¢ 180

@sankalp475

Posted

So beautiful, so elegant just looking like wow

Marked as helpful

2

Please log in to post a comment

Log in with GitHub
Discord logo

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