From aac18419bd84c4df5699db994c683f2bebaf3fd9 Mon Sep 17 00:00:00 2001 From: evoyy Date: Tue, 26 Jan 2016 07:00:53 +0000 Subject: [PATCH] CSS transform for non-Webkit browsers --- examples/basic/app.css | 3 +++ examples/bootstrap/app.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/examples/basic/app.css b/examples/basic/app.css index 0e7ed815..6bcc1092 100644 --- a/examples/basic/app.css +++ b/examples/basic/app.css @@ -11,10 +11,12 @@ .ReactModal__Content { -webkit-transform: scale(0.5) rotateX(-30deg); + transform: scale(0.5) rotateX(-30deg); } .ReactModal__Content--after-open { -webkit-transform: scale(1) rotateX(0deg); + transform: scale(1) rotateX(0deg); transition: all 150ms ease-in; } @@ -24,5 +26,6 @@ .ReactModal__Content--before-close { -webkit-transform: scale(0.5) rotateX(30deg); + transform: scale(0.5) rotateX(30deg); transition: all 150ms ease-in; } diff --git a/examples/bootstrap/app.css b/examples/bootstrap/app.css index e2788e8c..b707a4ec 100644 --- a/examples/bootstrap/app.css +++ b/examples/bootstrap/app.css @@ -14,10 +14,12 @@ .ReactModal__Content { -webkit-transform: scale(0.5) rotateX(-30deg); + transform: scale(0.5) rotateX(-30deg); } .ReactModal__Content--after-open { -webkit-transform: scale(1) rotateX(0deg); + transform: scale(1) rotateX(0deg); transition: all 150ms ease-in; } @@ -27,6 +29,7 @@ .ReactModal__Content--before-close { -webkit-transform: scale(0.5) rotateX(30deg); + transform: scale(0.5) rotateX(30deg); transition: all 150ms ease-in; }