Myvideo

Guest

Login

A better image reset for your CSS

Uploaded By: Myvideo
15 views
0
0 votes
0

One of the most common resets in CSS is to set a max-width: 100% and a display: block on our images. In this video, I look at why it might also be a good idea to declare background-size, font-style, and shape-margin, among other things. 🔗 Links ✅ Harry Roberts post on Twitter: ✅ Harry’s article on low-quality image placeholders: ✅ More on shape-margin and shape-outside: ⌚ Timestamps 00:00 - Introduction 00:50 - max-width 01:50 - vertical-align: middle 03:50 - height: auto 04:20 - font-style: italic 05:35 - background-size and background-repeat 09:29 - shape-margin #css -- Come hang out with other dev’s in my Discord Co ... #KevinPowell #Kevin_Powell #css #front-end #frontend #html #web_development #css_reset #css_image #img_default 20231107 345V2MU3E_w

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later