I’ve created a image grid, and I am trying to overlay text on top of each image, but the text seems to move around and is not responsive to the image or the grid…
the text is skull rings on top of the skull image… does anyone know what I am doing wrong?
Any help would be great!
Hello @ainneo, I tried to fix your code. Try this fix:
The problem was due to using pixel units for positioning and because your text was not responsive. So, I used vw unit for font size but that is also to the proper solution since in screens with very low viewport width the texts might become unreadable and in large screen devices they would become quite large.
For a better method for fluid typography read this smashing magazine article:
Another thing, don’t write several CSS property value pair on the same line. It makes the code hard to read.
THANK YOU!!! I spent 5 hours trying to figure this out, I tried so many different things, and double checked my code to see if I misplaced items!!! THANK YOU this worked!!! And thank you for the advice.