PHP Classes

File: vendors/bootstrap/less/mixins/nav-vertical-align.less

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/bootstrap/less/mixins/nav-vertical-align.less   Download  
File: vendors/bootstrap/less/mixins/nav-vertical-align.less
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
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); }