Re: [csswg-drafts] CSS `position: drag` (#11383)

You're right! The more I think about it, having a separate drag property instead of a new positioning mode makes a lot of sense. 
Something in the lines of:
```css
/* Enable draggable behavior */
.element {
  position: absolute; /* or relative, fixed, etc. */
  drag: enabled;      /* New property to allow dragging */
}
```

-- 
GitHub Notification of comment by yashrajbharti
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11383#issuecomment-2548710311 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 17 December 2024 15:10:51 UTC