---
title: "Comment by Krishna Saini on \"Frontend Interview Experience at H&M\" | Hashnode"
description: "Thanks for sharing the experience. I am not able to think of answer for that CSS question, but spend some time"
url: "https://hashnode.com/posts/frontend-interview-experience-at-hm/66a64d3a88fe5415339b45c4/comment/66a67224b12ce5b86fb4cabd"
---

[Discussion](https://hashnode.com/posts/frontend-interview-experience-at-hm/66a64d3a88fe5415339b45c4)

Comment [Frontend Interview Experience at H&M](https://hashnode.com/posts/frontend-interview-experience-at-hm/66a64d3a88fe5415339b45c4)

[Krishna Saini](https://hashnode.com/@krishna-saini)

[Jul 28, 2024](https://hashnode.com/posts/frontend-interview-experience-at-hm/66a64d3a88fe5415339b45c4/comment/66a67224b12ce5b86fb4cabd)

Thanks for sharing the experience. I am not able to think of answer for that CSS question, but spend some time

[Sanu Kumar](https://hashnode.com/@signatureblogger)

[Jul 29, 2024](https://hashnode.com/posts/frontend-interview-experience-at-hm/66a64d3a88fe5415339b45c4/comment/66a67224b12ce5b86fb4cabd#reply-66a7c5c56554bed3202e8cc8)

You can play with object-fit property and min-width, max-width as well as min-height and max-height CSS properties to adjust your image in a card.
