1.8 KiB
1.8 KiB
title |
---|
CSS Framework Materialize |
CSS Framework Materialize
Materialize is a Responsive CSS framework based on Google's Material Design Language.
Getting Started
Here is a simple HTML template which includes the latest compiled and minified CSS and Javascript for the Materialize library.
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<h1>Hello World!</h1>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
</body>
</html>
We have used a CDN in this example, but you can checkout other ways of installing Materialize here.