‘aspect-ratio’ is going to deprecate FitVids

< img src="https://websitedesign-usa.com/wp-content/uploads/2021/01/aspect-ratio-is-going-to-deprecate-fitvids.jpg"class="ff-og-image-inserted"> Jen was simply tweetin’about how the most recent Safari Technical Sneak peek has aspect-ratio. Appears like Chrome and Firefox both have it behind a flag, so with Safari signing up with the celebration, we'll all have it quickly. I had fun with it a while back. It's much and incredible required.

There are methods to make'aspect-ratio'boxes, however they mostly focus on"cushioning hacks."Dave is delighted about being launched from prison:

Once we can depend on it, FitVids(which I utilize on actually

every website I make in one type or another)can completely disappear in favor of a handful of CSS used straight to the components (generally videos-in - s ). FitVids 2021:

Leave a Reply

Your email address will not be published. Required fields are marked *