> On Jul 12, 2016, at 9:44 AM, Tom Livingston <tom...@gmail.com> wrote: > > While Philippe may well me right about Peter Gabriel singing the theme song > for this technique, I have used this method frequently, with a slight > difference. I use: > > html{box-sizing: border-box;} > *, *:before, *:after { box-sizing: inherit; } > > Possibly picked it up from here: > https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ > > Though I can't put my finger on it right now, I have read where this method > isn't really as a performance hit as it may seem.
It is not really the performance “hit” that I object to (modern browsers can handle the universal selector perfectly fine, even in deeply nested trees – still use in moderation…), it is the “inherit” value. (and I never have had the need to use such a construct myself… my aversion to so-called ‘reset’ css thingies is well-known on this list) How did Peter Gabriel creep into the conversation? Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/