PHP Classes

File: core/assets/build/bootstrap-less/mixins/nav-vertical-align.less

Recommend this page to a friend!
  Classes of No name  >  RT Adminlte  >  core/assets/build/bootstrap-less/mixins/nav-vertical-align.less  >  Download  
File: core/assets/build/bootstrap-less/mixins/nav-vertical-align.less
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: RT Adminlte
Generate layout and menus for Adminlte
Author: By
Last change:
Date: 5 years ago
Size: 364 bytes


Class file image Download
// Navbar vertical align
// Vertically center elements in the navbar.
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.

.navbar-vertical-align(@element-height) {
  margin-top: ((@navbar-height - @element-height) / 2);
  margin-bottom: ((@navbar-height - @element-height) / 2);
For more information send a message to info at phpclasses dot org.