What you ask will basically entail the following:
- the purpose of each word in the text to be wrapped with
<span> - use% position on the top / left to find a place in the picture, and dynamically assign color to the spans that fall into this area.
Due to the lack of a better word, NOT NOT . This is ridiculous, and there is too much overhead to rationalize.
Why not just give a translucent background to the text container so that it stands out more?
.Container { background-color:rgba(0,0,0,0.5); }
This provides a light shade for the text that needs to be stroked over the image, but at the same time showing the entire image on the page.
Solving the text shadow is also a good idea, but itβs just the head that it wonβt work on IE9. My solution will work on IE9, but not on IE8-, which does not mean that it is better, but just something that needs to be kept in mind.
PlantTheIdea
source share