Sep 5, 2021
CSS background images have become an antipattern because they can’t be lazy loaded or automatically resized. I’ve had to remove them from all of my projects over the last year, because they aren’t compatible with Next’s automatic image optimizations. That said, they are convenient, especially how you mentioned with Tailwind.