html - Inserting a rectangle image inside a hexagon image using CSS -
i have image of hexagon, , image in shape of rectangle. want put rectangle image inside hexagon shaped image. know can done using css, shape of hexagon special. have tried creating multiple divs embedded in 1 , styling position relative , absolute, respectfully, doesn't work. basically, how insert oddly shaped image inside oddly shaped image? seems simple solution, can't figure out!
the first thing have tried put hexagon image in parent div, set position either relative or absolute, put square image in div nested hexagon image's div. position absolutely want it.
that should work, sounds tried that. doing?
Comments
Post a Comment