Introduction
Material Kit PRO is a premium Bootstrap 4 Admin Template.
Quick start
To start using the UI Kit you will need to import some files in your current project or start from scratch using our template (scroll down in this page to view it).
CSS
Copy-paste the stylesheet <link>
into your <head>
before all other stylesheets to load our CSS.
<!-- CSS Files -->
<link href= "/assets-old/css/material-kit.min.css?v=2.2.0" rel= "stylesheet" />
JS
Many of our components require the use of JavaScript to function. Specifically, they require jQuery , Popper.js , and our own JavaScript plugins. Place the following <script>
s near the end of your pages, right before the closing </body>
tag, to enable them. jQuery must come first, then Popper.js, and then our JavaScript plugins.
<!-- Core JS Files -->
<script src= "assets/js/core/jquery.min.js" type= "text/javascript" ></script>
<script src= "assets/js/core/popper.min.js" type= "text/javascript" ></script>
<script src= "assets/js/core/bootstrap-material-design.min.js" type= "text/javascript" ></script>
<script src= "assets/js/plugins/moment.min.js" ></script>
<!-- Plugin for the Datepicker, full documentation here: https://github.com/Eonasdan/bootstrap-datetimepicker -->
<script src= "assets/js/plugins/bootstrap-datetimepicker.js" type= "text/javascript" ></script>
<!-- Plugin for the Sliders, full documentation here: http://refreshless.com/nouislider/ -->
<script src= "assets/js/plugins/nouislider.min.js" type= "text/javascript" ></script>
<!-- Google Maps Plugin -->
<script type= "text/javascript" src= "https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE" ></script>
<!-- Plugin for Tags, full documentation here: https://github.com/bootstrap-tagsinput/bootstrap-tagsinputs -->
<script src= "assets/js/plugins/bootstrap-tagsinput.js" ></script>
<!-- Plugin for Select, full documentation here: http://silviomoreto.github.io/bootstrap-select -->
<script src= "assets/js/plugins/bootstrap-selectpicker.js" type= "text/javascript" ></script>
<!-- Plugin for Fileupload, full documentation here: http://www.jasny.net/bootstrap/javascript/#fileinput -->
<script src= "assets/js/plugins/jasny-bootstrap.min.js" type= "text/javascript" ></script>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src= "https://buttons.github.io/buttons.js" ></script>
<!-- Control Center for Material Kit: parallax effects, scripts for the example pages etc -->
<script src= "assets/js/material-kit.js?v=2.2.0" type= "text/javascript" ></script>
Fonts and Icons
Copy-paste the stylesheet <link>
into your <head>
before all other stylesheets to load the Fonts and Icons.
<!-- Fonts and icons -->
<link rel= "stylesheet" type= "text/css" href= "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link rel= "stylesheet" href= "https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" >
Starter template
Be sure to have your pages set up with the latest design and development standards. That means using an HTML5 doctype and including a viewport meta tag for proper responsive behaviors. Put it all together and your pages should look like this:
<!doctype html>
<html lang= "en" >
<head>
<title> Hello, world!</title>
<!-- Required meta tags -->
<meta charset= "utf-8" >
<meta content= "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name= "viewport" />
<meta http-equiv= "X-UA-Compatible" content= "IE=edge,chrome=1" />
<!-- Fonts and icons -->
<link rel= "stylesheet" type= "text/css" href= "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link rel= "stylesheet" href= "https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" >
<!-- Material Kit CSS -->
<link href= "assets/css/material-kit.css?v=2.2.0" rel= "stylesheet" />
</head>
<body><nav class= "navbar navbar-color-on-scroll navbar-transparent fixed-top navbar-expand-lg" color-on-scroll= "100" >
<div class= "container" >
<div class= "navbar-translate" >
<a class= "navbar-brand" href= "https://demos.creative-tim.com/material-kit-pro-bs4/index.html" >
Material Kit PRO </a>
<button class= "navbar-toggler" type= "button" data-toggle= "collapse" aria-expanded= "false" aria-label= "Toggle navigation" >
<span class= "sr-only" > Toggle navigation</span>
<span class= "navbar-toggler-icon" ></span>
<span class= "navbar-toggler-icon" ></span>
<span class= "navbar-toggler-icon" ></span>
</button>
</div>
<div class= "collapse navbar-collapse" >
<ul class= "navbar-nav ml-auto" >
<li class= "nav-item" >
<a href= "#" class= "nav-link" >
<i class= "material-icons" > apps</i> Template
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class= "page-header header-filter" data-parallax= "true" style= "background-image: url('assets/img/bg3.jpg')" >
<div class= "container" >
<div class= "row" >
<div class= "col-md-8 ml-auto mr-auto" >
<div class= "brand text-center" >
<h1> Your title here</h1>
<h3 class= "title text-center" > Subtitle</h3>
</div>
</div>
</div>
</div>
</div>
<div class= "main main-raised" >
<div class= "container" >
<div class= "section text-center" >
<h2 class= "title" > Your main section here</h2>
</div>
</div>
</div>
<footer class= "footer footer-default" >
<div class= "container" >
<nav class= "float-left" >
<ul>
<li>
<a href= "https://www.creative-tim.com/" >
Creative Tim
</a>
</li>
</ul>
</nav>
<div class= "copyright float-right" >
©
<script>
document . write ( new Date (). getFullYear ())
</script> , made with <i class= "material-icons" > favorite</i> by
<a href= "https://www.creative-tim.com/" target= "blank" > Creative Tim</a> for a better web.
</div>
</div>
</footer>
<!-- Core JS Files -->
<script src= "assets/js/core/jquery.min.js" type= "text/javascript" ></script>
<script src= "assets/js/core/popper.min.js" type= "text/javascript" ></script>
<script src= "assets/js/core/bootstrap-material-design.min.js" type= "text/javascript" ></script>
<script src= "assets/js/plugins/moment.min.js" ></script>
<!-- Plugin for the Datepicker, full documentation here: https://github.com/Eonasdan/bootstrap-datetimepicker -->
<script src= "assets/js/plugins/bootstrap-datetimepicker.js" type= "text/javascript" ></script>
<!-- Plugin for the Sliders, full documentation here: http://refreshless.com/nouislider/ -->
<script src= "assets/js/plugins/nouislider.min.js" type= "text/javascript" ></script>
<!-- Google Maps Plugin -->
<script type= "text/javascript" src= "https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE" ></script>
<!-- Plugin for Tags, full documentation here: https://github.com/bootstrap-tagsinput/bootstrap-tagsinputs -->
<script src= "assets/js/plugins/bootstrap-tagsinput.js" ></script>
<!-- Plugin for Select, full documentation here: http://silviomoreto.github.io/bootstrap-select -->
<script src= "assets/js/plugins/bootstrap-selectpicker.js" type= "text/javascript" ></script>
<!-- Plugin for Fileupload, full documentation here: http://www.jasny.net/bootstrap/javascript/#fileinput -->
<script src= "assets/js/plugins/jasny-bootstrap.min.js" type= "text/javascript" ></script>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src= "https://buttons.github.io/buttons.js" ></script>
<!-- Control Center for Material Kit: parallax effects, scripts for the example pages etc -->
<script src= "assets/js/material-kit.js?v=2.2.0" type= "text/javascript" ></script></body>
</html>