TIL Object Position
A while ago (I guess 6 years now?) I adapted a jQuery plugin called FocusPoint to be dependency free.
Today I was messing around trying to maybe adapt this to be a web component, and learned that object-position
already does exactly this, and has really great browser support.
See the Pen Object Position by Kevin Kipp (@third774) on CodePen.
So, I guess itβs time to archive that repo!
Update #
Iβve created a <focus-picker>
web component to help with the selection of object-position
!