Overlapping elements in CSS

前端 未结 5 1642
[愿得一人]
[愿得一人] 2020-12-08 04:00

How can I make two elements overlap in CSS, e.g.

Content 1
Content 2

I would like the two con

5条回答
  •  既然无缘
    2020-12-08 04:31

    You can try using the transform: translate property by passing the appropriate values inside the parenthesis using the inspect element in Google chrome.

    You have to set translate property in such way that both the

    overlap each other then You can use JavaScript to show and hide both the
    according to your requirements

提交回复
热议问题