Note that there are some explanatory texts on larger screens.

plurals
  1. POMake image div's with overlays fully responsive?
    primarykey
    data
    text
    <p>I have completed quite a few responsive sites in the past but am struggling with this senario.</p> <p>I want to generate this effect: <a href="http://playwp.equiet.sk/" rel="nofollow">http://playwp.equiet.sk/</a></p> <p>I have created a jsfiddle of what I have done, for one of the image divs. I have stripped out the responsive aspects I added as I could not get it to function properly with the overlay and was hoping someone could help me figure this out.</p> <p>Here is my jsfiddle I want to turn responsive: <a href="http://jsfiddle.net/mattmagi/ZS7ZA/1/" rel="nofollow">http://jsfiddle.net/mattmagi/ZS7ZA/1/</a></p> <pre><code>&lt;div class="one"&gt; &lt;img src="http://tst.eclipsecreative.ca/3clips3/wp-content/uploads/2013/01/team.jpg"/&gt; &lt;div class="two"&gt; &lt;img src="http://tst.eclipsecreative.ca/3clips3/wp-content/uploads/2013/01/team-hover.jpg"/&gt; &lt;div class="info"&gt; &lt;p class="name"&gt;Sally Salamander&lt;/p&gt; &lt;p class="position"&gt;Account Manager&lt;/p&gt; &lt;/div&gt; &lt;div class="social"&gt; &lt;a href="#"&gt;&lt;img src="http://www.tompeters.com/_/i/twitter-icon.png" /&gt;&lt;/a&gt; &lt;a href="#"&gt;&lt;img src="http://www.tompeters.com/_/i/twitter-icon.png" /&gt;&lt;/a&gt; &lt;a href="#"&gt;&lt;img src="http://www.tompeters.com/_/i/twitter-icon.png" /&gt;&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; .one { position: relative; background-color: transparent; } .two { position: relative; top: -364px; left: 0px; } .info { position: relative; top: -365px; padding-top: 30px; padding-left: 30px; background-color: transparent; } .social { position: relative; top: -365px; padding-top: 15px; padding-left: 30px; background-color: transparent; } .name {font-size: 24px;} .position {font-size: 16px;} </code></pre> <p><br /> EDIT: Ok here is another example of what I mean (ignore the hover glitch): <a href="http://jsfiddle.net/mattmagi/3d5Jr/" rel="nofollow">http://jsfiddle.net/mattmagi/3d5Jr/</a></p> <p>The blocks will float to the left, so as your browser gets larger more blocks will show, but when its inbetween sizes I want it to automatically fill the browser so there is never any white-space to the right of the images, so have it scale to fit.</p> <p>Thanks in advance.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload