Use: before or a div with an image?

1

I'm finishing a website and I'm not sure if I use :before or a div with the background of the image, what I need is this:

Asyoucansee,theyare2divs,thefirstisthatoftheglasses,andthesecondisthetext,Itriedtomakea:beforetohavethistriangle,butitdidnotwork,whentheresolutionchangesitstaysBadbecausethesiteisresponsive,sowhatdoIdo?DoIcreateadivbeforeoruse:beforesame?

is on the air , just select a collection that will appear this content.

    
asked by anonymous 10.07.2014 / 14:43

1 answer

1

I have separated by div's every element for better organization and better future maintenance. It looks more or less like this ("div of the background", "div of the img" and "div of the text")

Example:

link

Here is an example that has the formatting of the example texts briefly .. but the idea is this!

    
10.07.2014 / 16:48