:-moz-drag-over

  • Revision slug: CSS/:-moz-drag-over
  • Revision title: :-moz-drag-over
  • Revision id: 71003
  • Created:
  • Creator: Zibibbo84
  • Is current revision? No
  • Comment /* Examples */

Revision Content

{{template.CSSMozExtensionRef()}}

Summary

The :-moz-drag-over pseudo-class is used to edit an element when a drag-over event is called on it.

Syntax

element:-moz-drag-over { style properties }

Examples

td:-moz-drag-over {color:red}

...where...

<table border="1">
  <tr>
    <td width="100px" height="100px">Drag Over</td>
  </tr>
</table>

...result... Image:draga.jpg...Image:dragb.jpg

Revision Source

<p> 
{{template.CSSMozExtensionRef()}}
</p>
<h3 name="Summary"> Summary </h3>
<p>The <code>:-moz-drag-over</code> pseudo-class is used to edit an element when a drag-over event is called on it.
</p>
<h3 name="Syntax"> Syntax </h3>
<pre class="eval">element:-moz-drag-over { <i>style properties</i> }
</pre>
<h3 name="Examples"> Examples </h3>
<pre>td:-moz-drag-over {color:red}
</pre>
<p>...where...
</p>
<pre>&lt;table border="1"&gt;
  &lt;tr&gt;
    &lt;td width="100px" height="100px"&gt;Drag Over&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
</pre>
<p>...result...
<img alt="Image:draga.jpg" src="File:en/Media_Gallery/Draga.jpg">...<img alt="Image:dragb.jpg" src="File:en/Media_Gallery/Dragb.jpg">
</p>
Revert to this revision