Reduce top: 0; right: 0; bottom: 0; left: 0 to one line!
cssisntmagic.substack.com
Folks, did you stretch elements over the full width and height of the parent using top, right, bottom and left properties?🤔 Nowadays, you can reduce this code to one property! Just use the inset property. Cheers!🥳 P.S. ❤ Thank you so much, my sponsors: Ben Rinehart, Jesse Willard, Tanya Ten, Konstantinos Kapenekakis
Reduce top: 0; right: 0; bottom: 0; left: 0 to one line!
Reduce top: 0; right: 0; bottom: 0; left: 0…
Reduce top: 0; right: 0; bottom: 0; left: 0 to one line!
Folks, did you stretch elements over the full width and height of the parent using top, right, bottom and left properties?🤔 Nowadays, you can reduce this code to one property! Just use the inset property. Cheers!🥳 P.S. ❤ Thank you so much, my sponsors: Ben Rinehart, Jesse Willard, Tanya Ten, Konstantinos Kapenekakis