5 ms·
Woah there. Position relative can help with z-index issues. Also, I’ve never dealt with float based layouts but I can tell you overflow hidden is useful outsi
by willio58 6y ago
Woah there.
Position relative can help with z-index issues.
Also, I’ve never dealt with float based layouts but I can tell you overflow hidden is useful outside of that context.
- ImpressiveWebs 6y agoAgain, z-index is so rarely used and if you needed overflow hidden for something other than floats, then you were doing your CSS wrong. I’m not saying that to be arrogant, I’ve written books on CSS and written articles for some of the biggest web dev sites online. It’s just true that many developers don’t understand CSS and often use the wrong tool for the right job, so to speak.