blob: 8f4fe8d38a5acade0822c06bbac583f2f5273743 [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <title>grid test</title>
9
10 <!-- Fonts -->
11 <link href='https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en' rel='stylesheet' type='text/css'>
12 <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
13 rel="stylesheet">
14
15 <!-- Page styles -->
16 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/0.0.1/prism.min.css">
17 <link rel="stylesheet" href="../../material.min.css">
18 <link rel="stylesheet" href="../../components/demos.css">
19 <script src="../../material.min.js"></script>
20
21
22 <style>
23
24 </style>
25
26 </head>
27 <body>
28
29 <div style="padding-top: 24px;">
30
31
32<style>
33.demo-grid .mdl-cell {
34 box-sizing: border-box;
35 background-color: #BDBDBD;
36 height: 200px;
37 padding-left: 8px;
38 padding-top: 4px;
39 color: white;
40}
41.demo-grid .mdl-grid:first-of-type .mdl-cell {
42 height: 50px;
43}
44</style>
45
46{% include "grid.html" %}
47
48<div class="mdl-grid">
49 <div class="mdl-cell mdl-cell--1-col">1</div>
50 <div class="mdl-cell mdl-cell--1-col">1</div>
51 <div class="mdl-cell mdl-cell--1-col">1</div>
52 <div class="mdl-cell mdl-cell--1-col">1</div>
53 <div class="mdl-cell mdl-cell--1-col">1</div>
54 <div class="mdl-cell mdl-cell--1-col">1</div>
55 <div class="mdl-cell mdl-cell--1-col">1</div>
56 <div class="mdl-cell mdl-cell--1-col">1</div>
57 <div class="mdl-cell mdl-cell--1-col">1</div>
58 <div class="mdl-cell mdl-cell--1-col">1</div>
59 <div class="mdl-cell mdl-cell--1-col">1</div>
60 <div class="mdl-cell mdl-cell--1-col">1</div>
61</div>
62<div class="mdl-grid">
63 <div class="mdl-cell mdl-cell--4-col">4</div>
64 <div class="mdl-cell mdl-cell--4-col">4</div>
65 <div class="mdl-cell mdl-cell--4-col">4</div>
66</div>
67<div class="mdl-grid">
68 <div class="mdl-cell mdl-cell--6-col">6</div>
69 <div class="mdl-cell mdl-cell--4-col">4</div>
70 <div class="mdl-cell mdl-cell--2-col">2</div>
71</div>
72<div class="mdl-grid">
73 <div class="mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet">6 (8 tablet)</div>
74 <div class="mdl-cell mdl-cell--4-col mdl-cell--6-col-tablet">4 (6 tablet)</div>
75 <div class="mdl-cell mdl-cell--2-col mdl-cell--4-col-phone">2 (4 phone)</div>
76</div>
77
78
79 </div>
80 <!-- Built with love using Material Design Lite -->
81
82
83 <script>
84
85 </script>
86 </body>
87</html>