From 19dee8e43b2a404267ca8b1db7f4622b5053118b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 18 May 2016 01:31:19 +0300 Subject: [PATCH] added experimental scaling, still need to figure out how to manage origin... Signed-off-by: Alex A. Naanou --- .../experiments/native-scroll-ribbon.html | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/ui (gen4)/experiments/native-scroll-ribbon.html b/ui (gen4)/experiments/native-scroll-ribbon.html index 803c877a..560c88bc 100755 --- a/ui (gen4)/experiments/native-scroll-ribbon.html +++ b/ui (gen4)/experiments/native-scroll-ribbon.html @@ -31,6 +31,7 @@ * (update width to fit viewer) */ .ribbon-set { + position: relative; display: inline-block; /* This allways needs to be of viewer width, this mostly applies @@ -40,6 +41,13 @@ padding-top: 50%; padding-bottom: 50%; + + margin-left: -50%; + left: 50%; + + + transform-origin: 50% 50%; + /*transform: scale(0.5);*/ } @@ -88,10 +96,36 @@ + +