PHP Classes

File: theme/sass/bootstrap/mixins/_nav-vertical-align.scss

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   Giga CMS   theme/sass/bootstrap/mixins/_nav-vertical-align.scss   Download  
File: theme/sass/bootstrap/mixins/_nav-vertical-align.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Giga CMS
Multi-user content management system
Author: By
Last change:
Date: 7 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); }