diff options
Diffstat (limited to 'files/fr/web/css/mask-position')
-rw-r--r-- | files/fr/web/css/mask-position/index.html | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/files/fr/web/css/mask-position/index.html b/files/fr/web/css/mask-position/index.html index afbcb38828..43d8db0a4a 100644 --- a/files/fr/web/css/mask-position/index.html +++ b/files/fr/web/css/mask-position/index.html @@ -55,7 +55,7 @@ mask-position: unset; <h3 id="CSS">CSS</h3> -<pre class="brush: css; highlight[13]">#wrapper { +<pre class="brush: css">#wrapper { border: 1px solid black; width: 250px; height: 250px; @@ -72,10 +72,7 @@ mask-position: unset; } </pre> -<div class="hidden"> -<h3 id="HTML">HTML</h3> - -<pre class="brush: html"><div id="wrapper"> +<pre class="brush: html hidden"><div id="wrapper"> <div id="masked"> </div> </div> @@ -91,14 +88,11 @@ mask-position: unset; </select> </pre> -<h3 id="JavaScript">JavaScript</h3> - -<pre class="brush: js">var maskPosition = document.getElementById("maskPosition"); +<pre class="brush: js hidden">var maskPosition = document.getElementById("maskPosition"); maskPosition.addEventListener("change", function (evt) { document.getElementById("masked").style.maskPosition = evt.target.value; }); </pre> -</div> <h3 id="Résultat">Résultat</h3> |