20 lines
1.3 KiB
HTML
20 lines
1.3 KiB
HTML
<!DOCTYPE HTML>
|
|
<p>
|
|
When dragging each of the black squares below, the drag image should include
|
|
only the hollow black square, and no blue background.
|
|
</p>
|
|
<div style="background-color: blue; display: table; height: 100px; width: 100px;"></div>
|
|
<div style="width: 94px; height: 94px; border: solid; -webkit-user-drag: element; margin-top: -50px; margin-bottom: 10px;"></div>
|
|
|
|
<div style="background-color: blue; display: table-row; height: 100px;"><div style="width: 100px"></div></div>
|
|
<div style="width: 94px; height: 94px; border: solid; -webkit-user-drag: element; margin-top: -50px; margin-bottom: 10px;"></div>
|
|
|
|
<div style="background-color: blue; display: table-cell; height: 100px; width: 100px;"></div>
|
|
<div style="width: 94px; height: 94px; border: solid; -webkit-user-drag: element; margin-top: -50px; margin-bottom: 10px;"></div>
|
|
|
|
<fieldset style="background-color: blue; border: none; height: 100px; width: 100px;"><legend></legend></fieldset>
|
|
<div style="width: 94px; height: 94px; border: solid; -webkit-user-drag: element; margin-top: -50px; "></div>
|
|
|
|
<table style="border-collapse: collapse;"><tr><td style="border-bottom: 100px solid blue; width: 100px;"></td></tr></table>
|
|
<div style="width: 94px; height: 94px; border: solid; -webkit-user-drag: element; margin-top: -50px; "></div>
|