"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>
548k questions
547k answers
4 comments
86.3k users