|
| 1 | +<!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="viewport" content="width=device-width, initial-scale=1"> |
| 7 | + |
| 8 | + <title>angular-bricklayer</title> |
| 9 | + |
| 10 | + <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bricklayer/0.2.4/bricklayer.min.css"> |
| 11 | + |
| 12 | + <script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.3/angular.min.js"></script> |
| 13 | + <script src="//cdnjs.cloudflare.com/ajax/libs/bricklayer/0.2.4/bricklayer.min.js"></script> |
| 14 | + |
| 15 | + <script src="app.js"></script> |
| 16 | + <script src="../src/angular-bricklayer.js"></script> |
| 17 | + |
| 18 | + <style> |
| 19 | + .bricklayer-column-sizer { |
| 20 | + width: 10%; |
| 21 | + } |
| 22 | + |
| 23 | + .box { |
| 24 | + margin: 10px 0; |
| 25 | + } |
| 26 | + </style> |
| 27 | + |
| 28 | +</head> |
| 29 | +<body ng-app="app"> |
| 30 | + |
| 31 | +<!-- Bricklayer needs to have "bricklayer" class name. --> |
| 32 | +<div class="bricklayer"> |
| 33 | + <div class="box" style="background-color: red; height: 100px"></div> |
| 34 | + <div class="box" style="background-color: green; height: 70px"></div> |
| 35 | + <div class="box" style="background-color: blue; height: 30px"></div> |
| 36 | + <div class="box" style="background-color: orange; height: 40px"></div> |
| 37 | + <div class="box" style="background-color: red; height: 100px"></div> |
| 38 | + <div class="box" style="background-color: green; height: 70px"></div> |
| 39 | + <div class="box" style="background-color: blue; height: 30px"></div> |
| 40 | + <div class="box" style="background-color: orange; height: 40px"></div> |
| 41 | + <div class="box" style="background-color: red; height: 100px"></div> |
| 42 | + <div class="box" style="background-color: green; height: 70px"></div> |
| 43 | + <div class="box" style="background-color: blue; height: 30px"></div> |
| 44 | + <div class="box" style="background-color: orange; height: 40px"></div> |
| 45 | + <div class="box" style="background-color: red; height: 100px"></div> |
| 46 | + <div class="box" style="background-color: green; height: 70px"></div> |
| 47 | + <div class="box" style="background-color: blue; height: 30px"></div> |
| 48 | + <div class="box" style="background-color: orange; height: 40px"></div> |
| 49 | + <div class="box" style="background-color: red; height: 100px"></div> |
| 50 | + <div class="box" style="background-color: green; height: 70px"></div> |
| 51 | + <div class="box" style="background-color: blue; height: 30px"></div> |
| 52 | + <div class="box" style="background-color: orange; height: 40px"></div> |
| 53 | + <div class="box" style="background-color: red; height: 100px"></div> |
| 54 | + <div class="box" style="background-color: green; height: 70px"></div> |
| 55 | + <div class="box" style="background-color: blue; height: 30px"></div> |
| 56 | + <div class="box" style="background-color: orange; height: 40px"></div> |
| 57 | +</div> |
| 58 | + |
| 59 | +</body> |
| 60 | +</html> |
0 commit comments