TIL that CSS border-radius property used to be a nightmare in older browsers
Last month I was digging through some old projects from about 3 years ago, trying to remember how I styled a button with rounded corners. Man, back then you had to write like 10 lines of code just for a simple rounded button, and it still looked different in every browser. I remember staying up late one night in 2021, testing border-radius in Internet Explorer 11 on a Windows laptop my buddy lent me. The corners would either clip weirdly or just show up as squares. I had to use vendor prefixes and even some hack with background-clip to make it work. Now I just write border-radius: 8px and it works on my phone, my work laptop, and my grandma's old tablet. Has anyone else had flashbacks to the old CSS wars with vendor prefixes?