ShapeYourPath
(current)
Run Code
Live Code Editor- Materialize Navbar Logo Center
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="robots" content="noindex,nofollow"> <meta name="description" content=""> <title>Materialize Logo Centered Aligned </title> <style type="text/css"> p { font-size: 18px; } h1{ font-size: 35px; } .custom-padding { height: 80px; } .custom--space { margin-bottom: 50px; } </style> </head> <body> <h1 class="center-align"> Materialize Logo Aligned center </h1> <nav> <div class="nav-wrapper"> <a href="" class="brand-logo center"> <img src="" width="270" height="60" alt="Logo" /> </a> <ul id="nav-mobile" class="hide-on-med-and-down"> <li><a href="">Home</a></li> <li><a href="">About</a></li> <li><a href="">Services</a></li> </ul> </div> </nav> <!-- 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