Previous Message
Next Message

media queries following prior rules

Sent by Tom Livingston on 12 July 2016 04:04


On Monday, July 11, 2016, Philippe Wittenbergh [EMAIL-REMOVED]> wrote:

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


He sang the song "Sledgehammer" ;)



>
> Philippe
> --
> Philippe Wittenbergh
> http://l-c-n.com/
>
>
>
>
>
>

-- 

Tom Livingston | Senior Front End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com


#663399
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread:

Possibly related: