mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-18 02:13:08 +09:00
17 lines
No EOL
463 B
HTML
17 lines
No EOL
463 B
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Drag feedback for partly visible element: negative margins</title>
|
|
<style type="text/css">
|
|
div
|
|
{margin:-160px 0 0 -160px;
|
|
height:200px;
|
|
width:200px;
|
|
background-color:navy;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div draggable="true" ondragstart="event.dataTransfer.effectAllowed = 'copy'"/>
|
|
<p>Try to drag blue box above. Feedback overlay should be square.</p>
|
|
</body>
|
|
</html> |