Topic: rotating card top image
Ollie Vincent pro answered 7 years ago
.card-up
has a height, the image will try to fill the gap.
In that case I would create different images for different devices, using media queries to show them. rna014 pro answered 7 years ago
Ollie Vincent pro answered 7 years ago
Hi,
So looking at your code .card-up
(that the img
is wrapped in) has a height:50%;
.
You could overwrite this but this would cause different issues. Alternatively, you could try changing your image size to 450px x 260px
. 260px
is roughly the height of the .card-up
class.
These are only rough estimates - but how I would try to solve the issue.
If this still doesn't work please leave in your example (link you posted) so we can see the results and work from there :)
Thanks
rna014 pro answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Ollie Vincent pro commented 7 years ago
Hi, Judging by you image now - the browser at 1920px is making you image 445px wide. I suggest shrink your image to this width.