Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eddywashere/le-app-frame

Attempts at perfecting the "app frame" look.
https://github.com/eddywashere/le-app-frame

Last synced: 25 days ago
JSON representation

Attempts at perfecting the "app frame" look.

Awesome Lists containing this project

README

        

# Le App Frame

Attempts at perfecting the "app frame" look.

### Examples

- Fluid
- Fixed Width
- Max-Width / Responsive

### Features

- Fixed Header/Footer *1
- Proper 100% width row sections
- Scrollable content area
- Media query for max height to reset header/footer (footer is still sticky*2)
- Uses [hide-address-bar](https://github.com/scottjehl/Hide-Address-Bar) to normalize app frame in mobile browsers *3

1. Fixed header/footer: Header and Footer both require their height to be set in the css.
2. Sticky Footer: Footer will stay at the bottom of the screen if the page does not have enough content to push it lower. Footer requires its height to be set in the css.
3. hide-address-bar is used because the app frame header and footer are not fixed on the initial scroll. After the first scroll, the header and footer css works as it should. By triggering this initial scroll event, we get the expected css behavior.

### Todo

- Remove [hide-address-bar](https://github.com/scottjehl/Hide-Address-Bar) hack
- Document the .l-body and .l-header height/padding magic


* Got something better? Fork it!