Michael33 Posted January 2, 2021 Share Posted January 2, 2021 Site URL: https://itismichaelangelo.com/group-program Hey guys, my header background looks great on desktop, but it does not fit at all on mobile. Is there some CSS code I can use to have the background picture be formatted to fit on mobile? Link to comment
billystar101 Posted January 6, 2021 Share Posted January 6, 2021 Try this <style> @media screen and (max-width:640px) { img { object-fit: contain !important; } } </style> Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment