Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #342 from mdn/transform
Updates for the transform example
  • Loading branch information
Schalk Neethling committed Nov 23, 2017
2 parents b348810 + ca46d9b commit 2a9c80d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions live-examples/css-examples/transform.html
@@ -1,6 +1,6 @@
<section id="example-choice-list" class="example-choice-list large" data-property="transform">
<div class="example-choice">
<pre><code id="example_one" class="language-css">transform: matrix(1.0, 2.0, 3.0, 4.0, 5.0, 6.0);</code></pre>
<pre><code id="example_one" class="language-css">transform: matrix(1, 2, 3, 4, 5, 6);</code></pre>
<button type="button" class="copy hidden" aria-hidden="true" data-clipboard-target="#example_one">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
Expand Down Expand Up @@ -35,14 +35,7 @@
</div>

<div class="example-choice">
<pre><code id="example_six" class="language-css">transform: perspective(17px);</code></pre>
<button type="button" class="copy hidden" aria-hidden="true" data-clipboard-target="#example_six">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
</div>

<div class="example-choice">
<pre><code id="example_seven" class="language-css">transform: translateX(50px) rotate(50deg) translateY(15px);</code></pre>
<pre><code id="example_six" class="language-css">transform: scale(0.5) translate(-100%, -100%););</code></pre>
<button type="button" class="copy hidden" aria-hidden="true" data-clipboard-target="#example_seven">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
Expand All @@ -51,6 +44,6 @@

<div id="output" class="output large hidden">
<section id="default-example">
<img id="example-element" class="transition-all" src="../../media/examples/firefox.png" width="200" />
<img id="example-element" class="transition-all" src="../../media/examples/firefox-logo.svg" width="200" />
</section>
</div>
Binary file removed media/examples/firefox.png
Binary file not shown.

0 comments on commit 2a9c80d

Please sign in to comment.