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

QR code component solution

Simonas 40

@SimasCode

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello, Frontend Mentor Community ! This is my first project solution. I would appreciate it if you leave a comment.

Community feedback

@AssadullahADELYAR

Posted

Hello!

You have done a great job, in my opinion for margin in container class you can do with one line of code and for box-shadow you can put the first value 0px and increase the 3rd value for blur.

.container {
  background-color: var(--white);
  border-radius: 20px;
  margin: 60px 30px 60px 30px;
  width: 340px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
}
.container {
  margin: 0 auto;
  box-shadow: 0px 6px 50px rgba(0, 0, 0, 0.1);
}

I hope it was helpful for you

Happy coding,

Marked as helpful

0

Simonas 40

@SimasCode

Posted

Hello, @AssadullahADELYAR . You are absolutely right about margins. Thank you very much :)

1

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