Re: [css-d] Using Modernizr html classes

2015-02-04 Thread Tom Livingston
Thanks Barney. Thanks all. We're all set. If anyone would like to add to these suggestions, please send off list. Thanks On Wed, Feb 4, 2015 at 7:12 AM Barney Carroll wrote: > As Philippe says, you can't statically determine, from the outset, whether > the user's device supports touch or not –

Re: [css-d] Using Modernizr html classes

2015-02-04 Thread Barney Carroll
As Philippe says, you can't statically determine, from the outset, whether the user's device supports touch or not – you can only determine whether the browser supports touch (and nowadays most do). What you *can *do is reserve assumption until a touch event occurs, then set the class (or set it t

Re: [css-d] Using Modernizr html classes

2015-02-03 Thread Tom Livingston
Thanks Philippe On Tue, Feb 3, 2015 at 7:05 PM Philippe Wittenbergh wrote: > > > Le 4 févr. 2015 à 05:58, Tom Livingston a écrit : > > > > I am using Modernizr and it's html classes 'touch' and 'no-touch' in > > my CSS to add/hide functionality via such as a fixed menu bar on > > desktop and a r

Re: [css-d] Using Modernizr html classes

2015-02-03 Thread Philippe Wittenbergh
> Le 4 févr. 2015 à 05:58, Tom Livingston a écrit : > > I am using Modernizr and it's html classes 'touch' and 'no-touch' in > my CSS to add/hide functionality via such as a fixed menu bar on > desktop and a relative menu bar on mobile, among other things. > > The issue I am having is that in C

Re: [css-d] Using Modernizr html classes

2015-02-03 Thread Tom Livingston
y. > > Greg > > -Original Message- > From: [email protected] [mailto:css-d-bounces@lists. > css-discuss.org] On Behalf Of Tom Livingston > Sent: Tuesday, February 03, 2015 12:58 PM > To: CSS Discussion Group > Subject: [css-d] Using Modernizr

Re: [css-d] Using Modernizr html classes

2015-02-03 Thread Greg Gamble
ruary 03, 2015 12:58 PM To: CSS Discussion Group Subject: [css-d] Using Modernizr html classes List, This may be borderline off-topic, but I'm a little desperate. I am using Modernizr and it's html classes 'touch' and 'no-touch' in my CSS to add/hide functional

[css-d] Using Modernizr html classes

2015-02-03 Thread Tom Livingston
List, This may be borderline off-topic, but I'm a little desperate. I am using Modernizr and it's html classes 'touch' and 'no-touch' in my CSS to add/hide functionality via such as a fixed menu bar on desktop and a relative menu bar on mobile, among other things. The issue I am having is that i