I have a
div in HTML with some text written in it.
div is created by setting its
Y coordinates and
I want to draw a triangle Superimposing that
div so that my content is not lost.
I cannot change the
Y coordinates as my other
div's positioning is based on this
Generating a Triangle using multiple
div's approach also does not seem feasible as I am not sure in which
div I will write my text then……
Can somebody suggest an idea on how I can do this..?
You can do this with an image, but a more interesting way is to mess around with the borders of a div to make a triangle.
How this is works explained much more clearly here