Continues the modal tutorial by styling it with CSS, including making an element wider than its container and using object-fit to limit an image's height without distortion. Suited to viewers who already know basic HTML and CSS.
What you’ll learn
✓Style a modal dialog with CSS layout techniques
✓Make an element extend wider than its container
✓Use object-fit to constrain image height without squishing