"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>
2.1m questions
2.1m answers
60 comments
57.0k users