:-moz-drag-over

Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The :-moz-drag-over CSS pseudo-class is a Mozilla extension that matches an element when a dragover event is called on it.

Syntax

css
:-moz-drag-over {
  /* ... */
}

Examples

HTML

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

CSS

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

Result

Specifications

Not part of any standard.

See also