Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS resize property not working on iPad
    primarykey
    data
    text
    <p>Today I tried to resize a <code>&lt;div&gt;</code> using CSS. It works in desktop browsers like Safari, Firefox &amp; Chrome, but it’s not working on iPad. </p> <p>I want to implement resizing of <code>&lt;div&gt;</code> without using JavaScript. With the <code>resize</code> CSS property, the user can simply drag <code>&lt;div&gt;</code>s to resize.</p> <p>According to Apple’s own documentation, <a href="http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/css/property/resize" rel="nofollow"><code>resize</code> is supported on iOS since version 1</a>, but I can’t see how to resize the <code>&lt;div&gt;</code> on iOS.</p> <p><a href="http://jsfiddle.net/dQuX7/" rel="nofollow">http://jsfiddle.net/dQuX7/</a></p> <pre><code>&lt;!DOCTYPE HTML&gt; &lt;html&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;title&gt;Flexbox resize&lt;/title&gt; &lt;style&gt; section { width: 800px; display: -webkit-box; display: -moz-box; display: box; } div.left, div.right { outline: solid 1px #ccc; overflow: auto; } div.left { width: 20%; resize: both; } div.right { -webkit-box-flex: 1; -moz-box-flex: 1; box-flex: 1; } &lt;/style&gt; &lt;body&gt; &lt;section&gt; &lt;div class="left"&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit. &lt;/div&gt; &lt;div class="right"&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit. &lt;/div&gt; &lt;/section&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    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