"Hello Tamanna" will always be in the center after zooming in or out
.main { display: flex; justify-content: center; align-items: center; height:100vh; }
<div class="main"> <span>Hello Tamanna</span> <div>
755k questions
754k answers
5 comments
53.3k users