Ask Your Question
0

Anakin v2 Feedback and a question

asked 2020-04-27 18:25:00 -0500

olivernagy gravatar image

https://codepen.io/oliver-nagy/full/L...

Hey this is the second part of the anakin exercise, can I have a feedback please?

Also I have a question about the first image. I successfully recreated it, but I don't know how to "zoom out" a bit. I want to achieve that anakin's head is more visible, not only his face can be seen. Thank you very much.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2020-04-29 14:57:08 -0500

aze gravatar image

Wow, nice work! :)

To be completely honest that can be done in the easiest way by using a different image. This image is cropped this way, so the best you can do is the object-fit, what you already have. You can search for this image though that is not cropped this way and use that, or just leave it like this.

Your code looks nice too, the only little improvement I can suggest is that you can use shorthand CSS properties: instead margin-top: 10px; margin-right: 20px; margin-bottom: 30px; margin-left: 40px; you can use margin: 10px 20px 30px 40px; or if only the vertical and horizontal margins are different it is even shorter: margin: vertical horizontal;

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-04-27 18:25:00 -0500

Seen: 67 times

Last updated: Apr 29