E-mail List Archives
Re: Responsive web design and it's accessibility
From: Patrick H. Lauke
Date: May 23, 2018 2:28AM
- Next message: Mallory: "Re: Responsive web design and it's accessibility"
- Previous message: suman damera: "Re: Responsive web design and it's accessibility"
- Next message in Thread: Mallory: "Re: Responsive web design and it's accessibility"
- Previous message in Thread: suman damera: "Re: Responsive web design and it's accessibility"
- View all messages in this Thread
On 23/05/2018 02:36, John Foliot wrote:
>> I wish a height media query did a quick check on whether my viewport
> *height* (in em) is tall enough. When it isn't, un-stick the stickies.
>
> Do you happen to have an example of "good" code Mallory? ;-) A rough
> frame would be enough.
Something like this? https://codepen.io/patrickhlauke/pen/RyOQZE
tl;dr: style as usual, and then if min-height above a certain threshold,
make the header sticky.
P
--
Patrick H. Lauke
www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
- Next message: Mallory: "Re: Responsive web design and it's accessibility"
- Previous message: suman damera: "Re: Responsive web design and it's accessibility"
- Next message in Thread: Mallory: "Re: Responsive web design and it's accessibility"
- Previous message in Thread: suman damera: "Re: Responsive web design and it's accessibility"
- View all messages in this Thread