-1👍
I don’t quite get the result you want to obtain but why don’t you just use a simple margin-top: 50px
instead of the translate
?
This would prevent the element from overflowing the container.
Source:stackexchange.com
-1👍
I don’t quite get the result you want to obtain but why don’t you just use a simple margin-top: 50px
instead of the translate
?
This would prevent the element from overflowing the container.