Making media display consistently on your site can be a problem, especially with multiple content authors. In this tutorial Opera’s Chris Mills shows you how object-fit and object-position can solve it.
Control Image Aspect Ratios with CSS3
This tutorial showcases a few ideas for how to use object-fit and object-position
Daniela Vaseva
Daniela is writing tutorials, news, newsletters, and update emails for the DMXzone specialising in the sphere of electronic processing, analysis and publication of texts, and interested in the development of new Internet technologies and problems related to the cyberculture and net literature. She has a bachelor's degree in Bulgarian philology, and a master's degree in computational linguistics.
Comments
Be the first to write a comment
You must me logged in to write a comment.