Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Possible CSS Solution:</strong> (<em>only tested in chrome</em>)</p> <p>It looks like this might work using CSS3's <a href="http://dev.w3.org/csswg/css-flexbox-1/" rel="nofollow">flex box properties</a> and a combination of <code>background-image</code> properties. I was able to get it pretty close using only CSS. (<em>It works but needs a little tweaking</em>) Also, this may not be ideal cause I did have to change the markup a little bit to make this work. But its probably worth a shot if you are looking for a pure CSS solution.</p> <p><strong>Here is a Demo -></strong> <a href="http://jsfiddle.net/ADSH2/" rel="nofollow">http://jsfiddle.net/ADSH2/</a></p> <p><strong>New Markup:</strong> (<em>not to much different</em>)</p> <pre><code>&lt;section &gt; &lt;h2&gt;Some Heading:&lt;/h2&gt; &lt;p&gt;...&lt;/p&gt; &lt;p class="last"&gt; &lt;span class="image"&gt;&lt;/span&gt; &lt;/p&gt; &lt;/section&gt; </code></pre> <p><strong>CSS:</strong></p> <pre><code>.last { display:inline-flex; flex-direction:row; } .image { padding:5px 0 0 5px; width:100%; background-image:url("http://dribbble.s3.amazonaws.com/users/200359/screenshots/758731/stackoverflow_logo.png"); background-size:100%; background-repeat:no-repeat; background-position:bottom right; } </code></pre> <p><strong>Resources:</strong> </p> <ol> <li><a href="http://css-tricks.com/snippets/css/a-guide-to-flexbox/" rel="nofollow">http://css-tricks.com/snippets/css/a-guide-to-flexbox/</a></li> <li><a href="http://dev.w3.org/csswg/css-flexbox-1/" rel="nofollow">http://dev.w3.org/csswg/css-flexbox-1/</a></li> </ol>
    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.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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