PHP Classes

File: vendors/gentelella/vendors/select2/docs/_sass/vendor/bootstrap/mixins/_nav-vertical-align.scss

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/select2/docs/_sass/vendor/bootstrap/mixins/_nav-vertical-align.scss   Download  
File: vendors/gentelella/vendors/select2/docs/_sass/vendor/bootstrap/mixins/_nav-vertical-align.scss
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: 370 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. @mixin navbar-vertical-align($element-height) { margin-top: (($navbar-height - $element-height) / 2); margin-bottom: (($navbar-height - $element-height) / 2); }