aboutsummaryrefslogtreecommitdiff
path: root/files/uk/web/css/resize/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/uk/web/css/resize/index.html')
-rw-r--r--files/uk/web/css/resize/index.html212
1 files changed, 0 insertions, 212 deletions
diff --git a/files/uk/web/css/resize/index.html b/files/uk/web/css/resize/index.html
deleted file mode 100644
index 7a11fcc18c..0000000000
--- a/files/uk/web/css/resize/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
----
-title: resize
-slug: Web/CSS/resize
-tags:
- - CSS
- - CSS Властивість
- - Зміна розміру
- - Розмір
-translation_of: Web/CSS/resize
----
-<div>{{CSSRef}}</div>
-
-<h2 id="Зведення">Зведення</h2>
-
-<p>The <strong><code>resize</code></strong> CSS property lets you control the resizability of an element.</p>
-
-<p>{{cssinfo}}</p>
-
-<h2 id="Синтаксис">Синтаксис</h2>
-
-<pre class="brush: css">/* Keyword values */
-resize: none;
-resize: both;
-resize: horizontal;
-resize: vertical;
-resize: block;
-resize: inline;
-
-/* Global values */
-resize: inherit;
-resize: initial;
-resize: unset;
-</pre>
-
-<h3 id="Значення">Значення</h3>
-
-<dl>
- <dt><code>none</code></dt>
- <dd>The element offers no user-controllable method for resizing the element.</dd>
- <dt><code>both</code></dt>
- <dd>The element displays a mechanism for allowing the user to resize the element, which may be resized both horizontally and vertically.</dd>
- <dt><code>horizontal</code></dt>
- <dd>The element displays a mechanism for allowing the user to resize the element, which may only be resized horizontally.</dd>
- <dt><code>vertical</code></dt>
- <dd>The element displays a mechanism for allowing the user to resize the element, which may only be resized vertically.</dd>
- <dt><code>block</code> {{experimental_inline}}</dt>
- <dd>Depending on the {{cssxref("writing-mode")}} and {{cssxref("direction")}} value, the element displays a mechanism for allowing the user to resize the element either horizontally or vertically in block direction.</dd>
- <dt><code>inline</code> {{experimental_inline}}</dt>
- <dd>Depending on the {{cssxref("writing-mode")}} and {{cssxref("direction")}} value, the element displays a mechanism for allowing the user to resize the element either horizontally or vertically in inline direction.</dd>
-</dl>
-
-<div class="note"><strong>Note:</strong> <code>resize</code> does not apply to blocks for which the {{cssxref("overflow")}} property is set to <code>visible</code>.</div>
-
-<h3 id="Formal_syntax">Formal syntax</h3>
-
-{{csssyntax}}
-
-<h2 id="Examples">Examples</h2>
-
-<h3 id="Disabling_resizability_of_textareas">Disabling resizability of textareas</h3>
-
-<h4 id="CSS">CSS</h4>
-
-<p>By default, {{HTMLElement("textarea")}} elements are resizable in {{gecko("2.0")}} (Firefox 4). You may override this behavior with the CSS shown below:</p>
-
-<pre class="brush: css">textarea.example {
-  resize: none; /* disables resizability */
-}
-</pre>
-
-<h4 id="HTML">HTML</h4>
-
-<pre class="brush: html">&lt;textarea class="example"&gt;Type some text here.&lt;/textarea&gt;</pre>
-
-<h4 id="Result">Result</h4>
-
-<p>{{EmbedLiveSample("Disabling_resizability_of_textareas","200","100")}}</p>
-
-<h3 id="Using_resize_with_arbitrary_elements">Using resize with arbitrary elements</h3>
-
-<p>You can use the resize property to make any element resizable. In the example below, a resizable {{HTMLElement("div")}} box contains a resizable paragraph ({{HTMLElement("p")}} element):</p>
-
-<h4 id="CSS_2">CSS</h4>
-
-<pre class="brush: css">.resizable {
- resize: both;
- overflow: scroll;
- border: 1px solid black;
-}
-
-div {
- height: 300px;
- width: 300px;
-}
-
-p {
- height: 200px;
- width: 200px;
-}
-</pre>
-
-<h4 id="HTML_2">HTML</h4>
-
-<pre class="brush: html">&lt;div class="resizable"&gt;
- &lt;p class="resizable"&gt;
- This paragraph is resizable, because the CSS resize property is set to 'both' on this
- element.
-  &lt;/p&gt;
-&lt;/div&gt;
-</pre>
-
-<h4 id="Result_2">Result</h4>
-
-<p>{{EmbedLiveSample("Using_resize_with_arbitrary_elements","450","450")}}</p>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('CSS Logical Properties', '#resize', 'resize')}}</td>
- <td>{{Spec2('CSS Logical Properties')}}</td>
- <td>Adds the values <code>block</code> and <code>inline</code>.</td>
- </tr>
- <tr>
- <td>{{SpecName('CSS3 Basic UI', '#resize', 'resize')}}</td>
- <td>{{Spec2('CSS3 Basic UI')}}</td>
- <td>Initial definition</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support (on {{HTMLElement("textarea")}})</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("2.0")}}{{property_prefix("-moz")}}</td>
- <td>{{CompatNo}}</td>
- <td>12.1</td>
- <td>3.0 (522)</td>
- </tr>
- <tr>
- <td>On any block-level and replaced element, table cell, and inline block element (unless {{cssxref("overflow")}} is <code>visible</code>)</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("5.0")}}[1]</td>
- <td>{{CompatNo}}</td>
- <td>15</td>
- <td>4.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support (on {{HTMLElement("textarea")}})</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>On any block-level and replaced element, table cell, and inline block element (unless {{cssxref("overflow")}} is <code>visible</code>)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <code>resize</code> doesn't have any effect on {{HTMLElement("iframe")}} (cf. {{bug(680823)}})</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>{{HTMLElement("textarea")}}</li>
-</ul>