Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style> |
michael@0 | 5 | #d1 { |
michael@0 | 6 | width: 250px; |
michael@0 | 7 | height: 200px; |
michael@0 | 8 | margin: 200px; |
michael@0 | 9 | transform: translateY(10px); |
michael@0 | 10 | } |
michael@0 | 11 | #d1.hidden { |
michael@0 | 12 | transform: translateY(20px); |
michael@0 | 13 | } |
michael@0 | 14 | #d2 { |
michael@0 | 15 | background-color: yellow; |
michael@0 | 16 | position: relative; |
michael@0 | 17 | width: 100px; |
michael@0 | 18 | height: 100px; |
michael@0 | 19 | left: 0; |
michael@0 | 20 | } |
michael@0 | 21 | .hidden > #d2 { |
michael@0 | 22 | left: -100px; |
michael@0 | 23 | } |
michael@0 | 24 | </style> |
michael@0 | 25 | </head> |
michael@0 | 26 | <body> |
michael@0 | 27 | <div id="d1" class="hidden"> |
michael@0 | 28 | <div id="d2"></div> |
michael@0 | 29 | </div> |
michael@0 | 30 | </body> |
michael@0 | 31 | </html> |