diff --git a/apps/app/ui-tests-app/flexbox/flexbox-css.css b/apps/app/ui-tests-app/flexbox/flexbox-css.css
new file mode 100644
index 000000000..5ab0d4ca8
--- /dev/null
+++ b/apps/app/ui-tests-app/flexbox/flexbox-css.css
@@ -0,0 +1,13 @@
+#container {
+ border-color: black;
+ border-width: 1;
+ margin: 5;
+}
+#container>Label {
+ border-width: 2;
+ border-color: black;
+ border-radius: 5;
+}
+#container>Label[selected="yes"] {
+ border-color: gray;
+}
\ No newline at end of file
diff --git a/apps/app/ui-tests-app/flexbox/flexbox-css.ts b/apps/app/ui-tests-app/flexbox/flexbox-css.ts
new file mode 100644
index 000000000..a02ecc569
--- /dev/null
+++ b/apps/app/ui-tests-app/flexbox/flexbox-css.ts
@@ -0,0 +1,21 @@
+export const flexFlow = applyCss();
+
+function applyCss() {
+ return function(args) {
+ // args.object.page.getViewById("container")[what] = args.object.text;
+ let boxCss = " #container { " + args.object.tag + " }" ;
+ // console.log(boxCss);
+ args.object.page.addCss(boxCss);
+ console.log(args.object.page.css);
+ }
+}
+
+export function applyStyles(args) {
+ // var css = "#test-element { " + args.object.tag + " }";
+ console.log(args.object.tag);
+ args.object.page.addCss(args.object.tag);
+}
+
+export function resetTap(args) {
+ args.object.page.css = "";
+}
diff --git a/apps/app/ui-tests-app/flexbox/flexbox-css.xml b/apps/app/ui-tests-app/flexbox/flexbox-css.xml
new file mode 100644
index 000000000..203a029f6
--- /dev/null
+++ b/apps/app/ui-tests-app/flexbox/flexbox-css.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/apps/app/ui-tests-app/flexbox/flexbox-demo.css b/apps/app/ui-tests-app/flexbox/flexbox-demo.css
new file mode 100644
index 000000000..9621485bf
--- /dev/null
+++ b/apps/app/ui-tests-app/flexbox/flexbox-demo.css
@@ -0,0 +1,25 @@
+#body {
+ flex-flow: row wrap;
+}
+
+.flex-item {
+ align-items: center;
+ justify-content: center;
+}
+
+.header, .footer {
+ flex: 1;
+ width: 100%;
+ background-color: lightgreen;
+}
+
+.main {
+ flex: 5;
+ height: 60%;
+ background-color: lightsalmon;
+}
+
+.sidebar {
+ flex: 1;
+ background-color: lightblue;
+}
\ No newline at end of file
diff --git a/apps/app/ui-tests-app/flexbox/flexbox-demo.xml b/apps/app/ui-tests-app/flexbox/flexbox-demo.xml
new file mode 100644
index 000000000..92e73f886
--- /dev/null
+++ b/apps/app/ui-tests-app/flexbox/flexbox-demo.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/apps/app/ui-tests-app/flexbox/flexbox-main-page.ts b/apps/app/ui-tests-app/flexbox/flexbox-main-page.ts
index a0743205c..69477016c 100644
--- a/apps/app/ui-tests-app/flexbox/flexbox-main-page.ts
+++ b/apps/app/ui-tests-app/flexbox/flexbox-main-page.ts
@@ -10,6 +10,8 @@ export function pageLoaded(args: EventData) {
let examples = new Map();
examples.set("flexboxall", "flexbox/flexbox");
+ examples.set("flexboxcss", "flexbox/flexbox-css");
+ examples.set("flexboxdemo", "flexbox/flexbox-demo");
examples.set("flexrepeat", "flexbox/flexbox-repeater");
let viewModel = new FlexboxMainPageViewModel(wrapLayout, examples);