Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>you could do something like this for example : <a href="http://www.natenolting.com/lakenwoods/" rel="nofollow noreferrer">Example</a></p> <p><strong>html</strong></p> <pre><code>&lt;div class="photo_container"&gt; &lt;div class="photo"&gt; &lt;img src="/lakenwoods/images/mockup-photo.png" width="540" height="463" /&gt;&lt;/div&gt; &lt;div class="overlay"&gt; &lt;div class="content"&gt; &lt;h1&gt;Welcome to Lake-N-Woods Realty&lt;/h1&gt; &lt;p&gt; We are a Diverse and Highly Effective Real Estate Company, Dedicated to Satisfying all of our Clients Needs. We Specialize in Recreational, Rural and Investment Property throughout Bemidji and North Central Minnesota. &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="clear"&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p><strong>CSS</strong></p> <pre><code>@charset "utf-8"; /* CSS Document */ .clear { clear:both; } .photo_container { position: relative; width: 540px; height: 463px; overflow:hidden; margin: 0; padding:0; } .photo_container .photo { z-index:1; } .photo_container .overlay { width: 540px; height: 463px; background: url(/lakenwoods/images/mockup-overlay.png) no-repeat top center; position:absolute; bottom: 0; left: 0; z-index:10; } .photo_container .overlay .content h1 { position:absolute; top: 310px; left: 34px; font-family: Helvetica, Helvetica Neue, Arial, sans-serif; font-size:18px; color: #fff; font-weight: 700; width: 315px; } .photo_container .overlay .content p { position:absolute; top: 335px; left: 34px; font-family: Helvetica, Helvetica Neue, Arial, sans-serif; font-size:12px; color: #fff; width: 315px; line-height: 1.4em; } </code></pre>
 

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