logo

Keen Admin

Bootstrap 4 Admin Dashboard Framework

Stylesheets

Overview

Keen comes with its own CSS class naming convention that begins with prefix kt-(from Keenthemes) and follows the BEM methodology - http://getbem.com/. Some examples of Keen class names would be: kt-header, kt-footer, kt-badge. BEM makes CSS coding and maintenance easy and allows Keen to integrate unlimited 3rd party plugins and resources without worrying about class naming conflicts. However for Bootstrap and 3rd party plugins class extending we used their own CSS naming format.

As CSS processor Keen uses SASS, the most mature, stable, and powerful professional grade CSS extension language in the world.

CSS Helper Classes

You can use Keen's globally available SASS helper functions. All available functions can be found here: [keen]/theme/src/assets/sass/theme/core/base/_helpers.scss

Class Description
kt-margin-[size]
kt-margin-t-[size]
kt-margin-b-[size]
kt-margin-l-[size]
kt-margin-r-[size]
Margin helper classes where [size] can accept 1 to 20.
Example: kt-margin-10, kt-margin-t-20
kt-padding-[size]
kt-padding-t-[size]
kt-padding-b-[size]
kt-padding-l-[size]
kt-padding-r-[size]
Padding helper classes where [size] can accept 1 to 20.
Example: kt-padding-10, kt-padding-l-20
kt-valign-top
kt-valign-middle
kt-valign-bottom
Vertical align the content to top, middle or bottom
kt-space-[size] Space helper classes where [size] can accept 5, 10, 15, 20, 30, and 40.
Example: kt-space-10, kt-space-20
kt-block-center Helper class to set element centered.
kt-align-[alignment] Alignment helper classes where [alignment] can accept right, left and center.
Example: kt-align-right, kt-align-center
kt-pull-[direction] Pull element helper classes where [direction] can accept right and left.
Example: kt-pull-right, kt-pull-left
kt-img-rounded Image rounded border helper class
kt-block-inline Helper class to set element display as inline block.
kt-hide Helper class to hide element.
kt-clearfix Helper class to automatically clear its child elements.
kt-marginless Remove margin helper class
kt-img-centered Helper class to set image centered
kt-font-transform-u
kt-font-transform-l
kt-font-transform-c
kt-font-transform-i
Text transform helper classes.
kt-font-[weight] Weight helper classes where [weight] can accept bold, bolder and boldest.
Example: kt-font-bold
kt-font-[color]
kt-font-inverse-[color]
kt-bg-[color]
kt-bg-fill-[color]
Font and background color helper classes where [color] can accept brand, metal, light, accent, focus, primary, success, info, warning and danger. Refer to $kt-state-colors.
Example: kt-font-inverse-primary, kt-bg-info, kt-bg-fill-danger
kt-visible-[breakpoint]
kt-visible-[breakpoint]-inline-block
kt-visible-[breakpoint]-table
kt-visible-[breakpoint]-table-cell
kt-hidden-[breakpoint]
Helper classes to set visible or hidden for responsive breakpoint. [breakpoint] can accept desktop, tablet, tablet-and-mobile, mobile.
Example: kt-visible-desktop, kt-visible-tablet-inline-block, kt-hidden-tablet

Keen’s Key Features

Keen empowers your project with virtually limitless array of options
to create endless unique projects.

Multi Demo

Choose a perfect design for your next project among hundreds of demos

Limitless Components

A huge collection of components to power your application with the latest UI/UX trands

Angular 8 & React Support

Enterprise ready Angular and React integration with built-in authentication module and many more

Bootstrap 4

Metronic deeply customizes Bootstrap with native look and feel

Exclusive Datatable Plugin

Our super sleek and intuitive Datatable comes packed with all advanced CRUD features

75,000+ Strong

Metronic is the only theme trusted by over 70,000 developers world wide

Continuous Updates

Lifetime updates with new demos and features is guaranteed

Quality Code

Metronic is written with a code structure that all developers will be able to pick up easily and fall in love