File: demos/startbootstrap-sb-admin-2/bower_components/bootstrap/less/mixins/nav-vertical-align.less

Recommend this page to a friend!
  Classes of Emmanuel Podvin   Blapy   demos/startbootstrap-sb-admin-2/bower_components/bootstrap/less/mixins/nav-vertical-align.less   Download  
File: demos/startbootstrap-sb-admin-2/bower_components/bootstrap/less/mixins/nav-vertical-align.less
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Blapy
jQuery plugin to load linked pages using AJAX
Author: By
Last change: Update of demos/startbootstrap-sb-admin-2/bower_components/bootstrap/less/mixins/nav-vertical-align.less
Date: 3 years ago
Size: 364 bytes
 

Contents

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); }