positioning – CSS translate from top of page

I want to translate a div 50% to the right, and around 300px from the top of the page. I manage to do the 50% correct with translate, but when I try from the top, it moves the div 300px from where it was originally placed. I also tried with position-absolute, but then it overlaps everything else, which I don’t want. Any help appreciated.

Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here