Ongi's blog
front-end, coding and other interesting things

Create new Laravel project via Composer

composer create-project laravel/laravel --prefer-dist folder_name

Folder must be empty.

Some preferences

Only for tablets (for phone use "handset")

preference name="orientation" value="tablet" 

Only for lanscape orientation

preference name="target-device" value="landscape" 

Make footer stick to the bottom

Before footer add div.push

html {
    height: 100%;
body {
    min-height: 100%;
    position: relative;
footer {
    position: absolute;
    bottom: 0;
    height: 267px;
.push {
    height: 267px;
↑ to top