The cost of treating a problem as unknowable
Julia Evans describes a week spent on the most complicated CSS project she had ever attempted, working without professional CSS experience and with only a recent grasp of how position: absolute behaves. What she noticed in her own process was a set of habits she normally avoids:
- editing code at random in the hope that something would work
- searching for solutions and applying them without understanding what they did
- reverting changes and starting over whenever something broke
None of this worked, and Evans attributes the behavior to her attitude rather than her skill level: she had decided that CSS was too hard to understand. That belief drove the guessing, the copy-and-hope approach, and the constant resets.
Cross-browser behavior remains a real obstacle
In this case the underlying bug was a difference in z-index behavior between Chrome and Firefox. Those kinds of cross-browser divergences are rarer now than they once were, but they still surface, and CSS can be genuinely tricky even without an actual browser bug involved.
Start with fundamentals, assume the problem is solvable
The approach worth taking is the opposite of Evans' CSS mindset: go into a difficult problem with the conviction that you can work it out, beginning from the basics. Evans extends the point beyond debugging, observing that almost everything is easier and better with a better attitude.
The best tasting tea is the tea you drink when you are in a good mood.
Attributed to Uncle Iroh from The Last Airbender, quoted approvingly and admitted to be mis-remembered.



