Previous Message
Next Message

media queries following prior rules

Sent by Philippe Wittenbergh on 12 July 2016 04:04

> On Jul 12, 2016, at 9:44 AM, Tom Livingston [EMAIL-REMOVED]> 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:
> 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 Wittenbergh

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
List policies --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: