0
How do I make the text goes center of the screen automatically? I mean a responsive webpage?
2 Answers
+ 1
As far as CSS is concerned, if you want text to appear fixed at the center of a window, you could make a parent that is the entire window's size and make the text positioned absolute to this. Like:
.myclass {
position: fixed;
height: 100%;
width: 100%;
text-align: center;
}
.myclass2 {
position: absolute;
top: 50%;
}
But I might be misunderstanding your question.
0
It's easier to do it on HTML.