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: 5 years ago
Size: 370 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.

@mixin 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.