I need help figuring out how to stack one or more <div>
elements on top of another <div>
element while maintaining the text content within each. My issue is illustrated in this fiddle:
https://jsfiddle.net/rd268ucy/1/.
When attempting to drag one letter to stack onto another <div>
, the text content underneath is shifted downwards, as shown with the letter c. View the issue in this screenshot from the jsfiddle.
I'm looking for a solution to stack these elements without causing the text content in the underlying <div>
to move. Any advice or suggestions are greatly appreciated!