Jump to content

One background image to separate to two?


TheFilmGod

Recommended Posts

I've seen this done multiply times, but I can't figure out how. Google isn't very friendly for this...  :-\

 

 

Let us say I have an image like so:

 

+-----+-----+

|  A  |  B  |

+-----+-----+

 

Is it possible to use css to tell it "crop only A out" and make it the new background? And then say, "Crop only B out" and make it the background for another div (totally separate from A)?

Link to comment
https://forums.phpfreaks.com/topic/107201-one-background-image-to-separate-to-two/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.