ShapeYourPath
(current)
Run Code
Live Code Editor- Materialize CSS Container
Source Code
<!DOCTYPE html> <html lang="en"> <head> <!--Import Google Icon Font--> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> <!--Import materialize.css--> <!-- Compiled and minified CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css" /> <!--Let browser know website is optimized for mobile--> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content=""> <title>Materialize CSS Container Example</title> <style type="text/css"> p{font-size:18px;} </style> </head> <body> <h1 class="center-align">Materialize CSS Container Example</h1> <p class="center-align"> Materialize CSS Container is not a mandatory part of the grid system. It is created easily by assigning the .container class to the div element's base class. </p> <div class="container teal"> <h4 class="center-align white-text">Materialize CSS Container</h4> </div> <!-- Compiled and minified JavaScript --> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> </body> </html>
Output :
Running