]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add visual test for top bar flex grid
authorKevin Ball <kmball11@gmail.com>
Tue, 13 Sep 2016 21:02:11 +0000 (14:02 -0700)
committerKevin Ball <kmball11@gmail.com>
Tue, 13 Sep 2016 21:02:11 +0000 (14:02 -0700)
test/visual/flex-grid/top-bar.html [new file with mode: 0644]

diff --git a/test/visual/flex-grid/top-bar.html b/test/visual/flex-grid/top-bar.html
new file mode 100644 (file)
index 0000000..239bbb0
--- /dev/null
@@ -0,0 +1,30 @@
+
+<!doctype html>
+<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
+<html class="no-js" lang="en" dir="ltr">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <title>Foundation for Sites Testing</title>
+    <link href="../assets/css/foundation-flex.css" rel="stylesheet" />
+  </head>
+  <body>
+    <div class="top-bar">
+      <div class="top-bar-title">
+        This should be left aligned as a title
+      </div>
+      <div class="top-bar-left">
+        This should be left aligned next to title
+      </div>
+      <div class="top-bar-right">
+        This should be right aligned
+      </div>
+    </div>
+
+    <script src="../assets/js/vendor.js"></script>
+    <script src="../assets/js/foundation.js"></script>
+    <script>
+      $(document).foundation();
+    </script>
+  </body>
+</html>