It's tough to know that something is bad when you don't know about anything better. I remember when I started doing Android development was when I really realized how terrible CSS was. And this was long before all the new constraint stuff in iOS and Android that still makes CSS look bad.