ShapeYourPath
(current)
Run Code
Live Code Editor- Materialize CSS Push & Pull
Source Code
<!DOCTYPE html> <html lang="en"> <head> <!--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 Push & Pull</title> <!--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" /> <style type="text/css"> p { font-size: 18px; } h1{ font-size: 28px; } </style> </head> <body> <div class="container"> <h1 class="center-align">Materialize CSS Push & Pull</h1> <p class="center-align"> Materialize CSS push and pull classes are used to change the column order. </p> <div class="row"> <div class="col s7 push-s5 teal white-text"> <span class="flow-text"><p>This div is 7-columns wide on pushed to the right by 5-columns.</p></span> </div> <div class="col s5 pull-s7 orange white-text"> <span class="flow-text"><p>5-columns wide pulled to the left by 7-columns.</p></span> </div> </div> </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