quarta-feira, 5 de agosto de 2015

ionic | Exemplos de slides menu (menus laterais)


Aqui ficam algun exemplos de menus laterais ou slide menus:

http://codepen.io/calendee/pen/Kbpyg

http://codepen.io/weareburo/pen/cnCBi

http://codepen.io/anon/pen/fiJyx

http://codepen.io/StevenIseki/pen/winLd?editors=101

http://codepen.io/calendee/pen/JdtuG

ionic | Uma forma com CSS de centrar tudo

Aqui está uma forma de colocar tudo centrado, i.e., horizontalmente e verticalmente.

.centrado{
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-box-align: center;
  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

Exemplo: http://codepen.io/mhartington/pen/tAeJg