aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Szopka <bartek.szopka+github@gmail.com>2012-02-02 20:43:02 +0100
committerBartek Szopka <bartek.szopka+github@gmail.com>2012-02-02 20:43:02 +0100
commit7b4393cfc95ff5dee41edf3353a16dc2e305df59 (patch)
treecc6d8282199d7de56504bea11dc04aea641210d5
parent65fcaeed0a70a761405a63663ba3692c57988ec0 (diff)
downloadimpress.js-7b4393cfc95ff5dee41edf3353a16dc2e305df59.tar.gz
fixed 3D text in Firefox ... is it Firefox bug, Webkit bug or specification bug? :)
-rw-r--r--css/impress-demo.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/css/impress-demo.css b/css/impress-demo.css
index 0a65340..1248bf3 100644
--- a/css/impress-demo.css
+++ b/css/impress-demo.css
@@ -323,6 +323,14 @@ a:hover {
/* it's in 3D */
+#its-in-3d p {
+ -webkit-transform-style: preserve-3d;
+ -moz-transform-style: preserve-3d; /* Y U need this Firefox?! */
+ -ms-transform-style: preserve-3d;
+ -o-transform-style: preserve-3d;
+ transform-style: preserve-3d;
+}
+
#its-in-3d span,
#its-in-3d b {
display: inline-block;