Image over Image (Responsive)


#1

I’d like to put an Image on top of another where the relation between the two is fixed.
I tried playing around with css (background image etc.), but it didn’t really work.
I could place two pictures over each other but the didnt stay in the same relation when I resize the window.

Here is an example with bootstrap:
http://jsfiddle.net/MgcDU/7239/

Is there a way to do this without bootstrap?
Btw I’m not using cordova, if this is somehow relevant.

Thanks


#2

the answer to your question is in the example you gave yourself.

Its is pure CSS.

#counter {
    position: relative;
...
#over {
    position:absolute;
...

#3

Works perfekt, thank for helping me out :slight_smile: