Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は2つのdivを持っています。divBが完全にdivA内に含まれているとしましょう。
エリア「AマイナスB」をドロップ可能にします。つまり、BでカバーされていないAの領域にアイテムをドロップできるようにしたいのです。
どうやってやるの?
div をドロップ可能にし、div b をドロップ可能にせず、両方の div に z-index を設定して、div b を一番上に置いてください (b の z-index > z-index a)。ただし、自分で試したことはありません。