border-image-outset

  • Revision slug: CSS/border-image-outset
  • Revision title: border-image-outset
  • Revision id: 354723
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

{{CSSRef}}

Summary

The border-image-outset property describes, by which amount the border image area extends beyond the border box.

  • {{Xref_cssinitial}} {{cssinitial("border-image-outset")}}
  • Applies to all elements, except internal table elements when {{cssxref("border-collapse")}} is set to collapse.
  • {{Xref_cssinherited}}no
  • Media {{Xref_cssvisual}}
  • {{Xref_csscomputed}} all <length>s made absolute, otherwise as specified
  • {{Xref_cssanimatable}} {{xref_cssnotanimatable}}

Syntax

Formal syntax: {{csssyntax("border-image-outset")}}
border-image-outset: sides                  /* One-value syntax   */  E.g. border-image-slice: 30%; 
border-image-outset: vertical horizontal    /* Two-value syntax   */  E.g. border-image-slice: 10% 30%; 
border-image-outset: top vertical bottom    /* Three-value syntax */  E.g. border-image-slice: 30px 30% 45px; 
border-image-outset: top right bottom left  /* Four-value syntax  */  E.g. border-image-slice: 7px 12px 14px 5px;

border-image-repeat: inherit

Values

sides
Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box in all four directions.
horizontal
Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box in both horizontal directions, left and right.
vertical
Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box in both vertical directions, top and bottom.
top
Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box past its top edge.
bottom
Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box past its bottom edge.
right
Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box past its right edge.
left
Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box past its left edge.
inherit
Is a keyword indicating that all four values are inherited from their parent's element calculated value.

Specifications

Specification Status Comment
{{SpecName('CSS3 Backgrounds', '#border-image-outset', 'border-image-outset')}} {{Spec2('CSS3 Backgrounds')}} Initial specification

Browser compatibility

{{CompatibilityTable}}
Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 15.0 {{CompatGeckoDesktop("15.0")}} {{CompatNo}} {{CompatNo}} {{CompatNo}}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{CompatUnknown}} {{CompatGeckoMobile("15.0")}} {{CompatNo}} {{CompatUnknown}} {{CompatUnknown}}

See also

  • {{CSS_border_image}}

Revision Source

<div>
  {{CSSRef}}</div>
<h2 id="Summary">Summary</h2>
<p>The <code>border-image-outset</code> property describes, by which amount the <dfn id="border-image-area">border image area</dfn> extends beyond the border box.</p>
<ul class="cssprop">
  <li><dfn>{{Xref_cssinitial}}</dfn> {{cssinitial("border-image-outset")}}</li>
  <li><dfn>Applies to</dfn> all elements, except internal table elements when {{cssxref("border-collapse")}} is set to <code>collapse</code>.</li>
  <li><dfn>{{Xref_cssinherited}}</dfn>no</li>
  <li><dfn>Media</dfn> {{Xref_cssvisual}}</li>
  <li><dfn>{{Xref_csscomputed}}</dfn> all<var> <code>&lt;length&gt;</code></var>s made absolute, otherwise as specified</li>
  <li><dfn>{{Xref_cssanimatable}}</dfn> {{xref_cssnotanimatable}}</li>
</ul>
<h2 id="Syntax">Syntax</h2>
<pre class="twopartsyntaxbox">
<a href="/en-US/docs/CSS/Value_definition_syntax" title="/en-US/docs/CSS/Value_definition_syntax">Formal syntax</a>: {{csssyntax("border-image-outset")}}
</pre>
<pre>
border-image-outset: <em>sides</em> <em>                 /* One-value syntax   */</em>  E.g. border-image-slice: 30%; 
border-image-outset: <em>vertical</em> <em>horizontal</em> <em>   /* Two-value syntax   */ </em> E.g. border-image-slice: 10% 30%; 
border-image-outset: <em>top</em> <em>vertical</em> <em>bottom </em><em>   /* Three-value syntax */ </em> E.g. border-image-slice: 30px 30% 45px; 
border-image-outset: <em>top</em> <em>right</em> <em>bottom</em> <em>left </em><em> /* Four-value syntax  */ </em> E.g. border-image-slice: 7px 12px 14px 5px;

border-image-repeat: inherit
</pre>
<h3 id="Values">Values</h3>
<dl>
  <dt>
    <em>sides</em></dt>
  <dd>
    Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box in all four directions.</dd>
  <dt>
    <em>horizontal</em></dt>
  <dd>
    Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box in both horizontal directions, left and right.</dd>
  <dt>
    <em>vertical</em></dt>
  <dd>
    Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box in both vertical directions, top and bottom.</dd>
  <dt>
    <em>top</em></dt>
  <dd>
    Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box past its top edge.</dd>
  <dt>
    <em>bottom</em></dt>
  <dd>
    Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box past its bottom edge.</dd>
  <dt>
    <em>right</em></dt>
  <dd>
    Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box past its right edge.</dd>
  <dt>
    <em>left</em></dt>
  <dd>
    Is a {{xref_csslength}} or a {{xref_csspercentage}} of the amount by which the border image area extends beyond the border box past its left edge.</dd>
  <dt>
    <code>inherit</code></dt>
  <dd>
    Is a keyword indicating that all four values are inherited from their parent's element calculated value.</dd>
</dl>
<h2 id="Specifications" name="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('CSS3 Backgrounds', '#border-image-outset', 'border-image-outset')}}</td>
      <td>{{Spec2('CSS3 Backgrounds')}}</td>
      <td>Initial specification</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</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>15.0</td>
        <td>{{CompatGeckoDesktop("15.0")}}</td>
        <td>{{CompatNo}}</td>
        <td>{{CompatNo}}</td>
        <td>{{CompatNo}}</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</td>
        <td>{{CompatUnknown}}</td>
        <td>{{CompatGeckoMobile("15.0")}}</td>
        <td>{{CompatNo}}</td>
        <td>{{CompatUnknown}}</td>
        <td>{{CompatUnknown}}</td>
      </tr>
    </tbody>
  </table>
</div>
<h2 id="See_also">See also</h2>
<ul>
  <li>{{CSS_border_image}}</li>
</ul>
Revert to this revision