PikoPong
  • Web Dev
  • Hack
  • Database
  • Big Data
  • AWS
  • Linux
No Result
View All Result
PikoPong
  • Web Dev
  • Hack
  • Database
  • Big Data
  • AWS
  • Linux
No Result
View All Result
PikoPong
No Result
View All Result
Home Web Dev

`aspect-ratio` is going to deprecate FitVids

January 8, 2021
in Web Dev
274 18
`aspect-ratio` is going to deprecate FitVids


Jen was just tweetin’ about how the latest Safari Technical Preview has aspect-ratio. Looks like Chrome and Firefox both have it behind a flag, so with Safari joining the party, we’ll all have it soon.

I played with it a while back. It’s awesome and much needed. There are ways to make `aspect-ratio` boxes, but they largely revolve around “padding hacks.”

Dave is excited about being released from jail:

Once we can rely on it, FitVids (which I use on literally every site I make in one form or another) can entirely go away in favor of a handful of CSS applied directly to the elements (usually videos-in-<iframe>s).

FitVids 2021:





Source link

Share219Tweet137Share55Pin49

Related Posts

On Auto-Generated Atomic CSS | CSS-Tricks
Web Dev

On Auto-Generated Atomic CSS | CSS-Tricks

Robin Weser’s “The Shorthand-Longhand Problem in Atomic CSS” in an interesting journey through a tricky problem. The point is...

January 15, 2021
How to Add Commas Between a List of Items Dynamically with CSS
Web Dev

3 Approaches to Integrate React with Custom Elements

In my role as a web developer who sits at the intersection of design and code, I am drawn...

January 15, 2021
Community Resources, Weekly Newsletter, And Boosting Skills Online — Smashing Magazine
Web Dev

Smashing Workshops & Audits — Smashing Magazine

About The AuthorJuggling between three languages on a daily basis, Iris is known for her love of linguistics, arts,...

January 15, 2021
4 Lessons Web App Designers Can Learn From Google — Smashing Magazine
Web Dev

The Report — Smashing Magazine

About The AuthorSuzanne Scacca is a former WordPress implementer, trainer and agency manager who now works as a freelance...

January 15, 2021
Next Post
Painters Tape and Fault Tolerance

Painters Tape and Fault Tolerance

9 Decentralized, Open Source Alternative Social Media Platforms

9 Decentralized, Open Source Alternative Social Media Platforms

Leave a Reply Cancel reply

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

Recommended

9 Decentralized, Open Source Alternative Social Media Platforms

9 Decentralized, Open Source Alternative Social Media Platforms

January 10, 2021
Almost a Year After Richard Stallman Was ‘Cancelled’, Free Software Foundation has Elected a new President

Almost a Year After Richard Stallman Was ‘Cancelled’, Free Software Foundation has Elected a new President

August 6, 2020
Enforce column-level authorization with Amazon QuickSight and AWS Lake Formation : idk.dev

Enforce column-level authorization with Amazon QuickSight and AWS Lake Formation : idk.dev

July 1, 2020
Prevent DOM-based cross-site scripting vulnerabilities with Trusted Types

Prevent DOM-based cross-site scripting vulnerabilities with Trusted Types

May 27, 2020

Categories

  • AWS
  • Big Data
  • Database
  • DevOps
  • IoT
  • Linux
  • Web Dev
No Result
View All Result
  • Web Dev
  • Hack
  • Database
  • Big Data
  • AWS
  • Linux

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In