Myvideo

Guest

Login

A powerful CSS display property that no one talks about

Uploaded By: Myvideo
1 view
0
0 votes
0

Sometimes we want an element’s children to act as a sibling. It might not be the most common use case, but it can really come in handy every now and then, and luckily, we can do that with display: contents! 🔗 Links ✅ Getting started with Grid: ✅ More advanced selectors: ✅ Display: flow-root: ✅ More on display: content from the MDN: #box ⌚ Timestamps 00:00 - Introduction 00:35 - What display: contents does 02:27 - How it works and some limitations 04:04 - Using it with flexbox for a navigation 07:08 - Using nth-of-type to select a range of content 09:15 - Accessibility concerns #css -- Come hang out with other dev’s in my Discord Com ... #Kevin_Powell #css #front-end #frontend #html #tutorial #css_display #display_contents #display:_contents 20220405 cs37yx73b1o

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later