DUDEYRUDEY
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 1/23/2025 in #front-end
grid-row-columns: image overflowing out of grid item in grid layout.
17 replies
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 1/23/2025 in #front-end
grid-row-columns: image overflowing out of grid item in grid layout.
I would have liked in this situation, to have the image size proportionally and nicely by itself. If I hide the overflow it goes over the padding I have in my card and it still does not resize properly. How would I prevent my image from overflowing over the padding and allow my image to resize properly.
17 replies
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 1/23/2025 in #front-end
grid-row-columns: image overflowing out of grid item in grid layout.
Yeah. I have done this and everything is working. I’m still interested why in this case the image flowed out the bottom. Do you have any idea why?
17 replies
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 1/23/2025 in #front-end
grid-row-columns: image overflowing out of grid item in grid layout.
I don't know. I want to have 3 cards stacked vertically on smaller screens and than 3 cards stacked horizontally on larger screens , on my website design. I wanted to use grid to achieve the horizontal design on larger screens. Do you think I should not use grid for small screen, and than use grid for large screen?
17 replies
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 1/23/2025 in #front-end
grid-row-columns: image overflowing out of grid item in grid layout.
Yes here it is. I have put the issue into a code sandbox: https://codesandbox.io/p/sandbox/xy3l2p
17 replies
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 1/23/2025 in #front-end
grid-row-columns: image overflowing out of grid item in grid layout.
Here is my css:
17 replies
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 1/23/2025 in #front-end
grid-row-columns: image overflowing out of grid item in grid layout.
17 replies
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 12/6/2024 in #front-end
Creating a scalable button with text and a SVG icon
Ok. So I have made some changes. Removed the font--size attribute and specified svg just with the width. It's creating a resizable button. Does this look good?
18 replies
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 12/6/2024 in #front-end
Creating a scalable button with text and a SVG icon
18 replies
KPCKevin Powell - Community
•Created by DUDEYRUDEY on 12/6/2024 in #front-end
Creating a scalable button with text and a SVG icon
18 replies