mozilla

Compare Revisions

background

Change Revisions

Revision 354637:

Revision 354637 by teoli on

Revision 361643:

Revision 361643 by teoli on

Title:
background
background
Slug:
CSS/background
CSS/background
Tags:
"css", "CSS Reference"
"css", "CSS Reference"
Content:

Revision 354637
Revision 361643
n19    <ul class="cssprop">n19    <p>
20      <li>20      {{cssbox("background")}}
21        <dfn>{{ Xref_cssinitial }}</dfn>{{cssinitial("background"
>)}} 
22      </li>
23      <li>
24        <dfn>Applies to</dfn> all elements
25      </li>
26      <li>
27        <dfn>{{ Xref_cssinherited }}</dfn> no
28      </li>
29      <li>
30        <dfn>Percentages</dfn> allowed on {{ Cssxref("background-
>position") }} only 
31      </li>
32      <li>
33        <dfn>Media</dfn> {{ Xref_cssvisual }}
34      </li>
35      <li>
36        <dfn>{{ Xref_csscomputed }}</dfn> see individual properti
>es 
37      </li>
38    </ul>21    </p>
n43<a href="/en-US/docs/CSS/Value_definition_syntax" title="/en-US/dn26<a href="/en-US/docs/CSS/Value_definition_syntax" title="/en-US/d
>ocs/CSS/Value_definition_syntax">Formal syntax</a>:  [&lt;bg-laye>ocs/CSS/Value_definition_syntax">Formal syntax</a>: <code>{{csssy
>r&gt;, ]* &lt;final-bg-layer&gt;>ntax("background")}}</code>
44 
45         where
46                &lt;bg-layer&gt;       =  <code>[ &lt;background-
>image&gt; || &lt;background-position&gt; [ / &lt;background-size& 
>gt; ]?  
47                                                         || &lt;b
>ackground-repeat&gt; || &lt;background-attachment&gt; || &lt;back 
>ground-clip&gt; ]</code>    
48           and
49                &lt;final-bg-layer&gt; =  <code>[ &lt;background-
>color&gt; || &lt;background-image&gt; || &lt;background-position& 
>gt; [ / &lt;background-size&gt; ]?  
50                                                         || &lt;b
>ackground-repeat&gt; || &lt;background-attachment&gt; || &lt;back 
>ground-clip&gt; ]</code> 
n64        &lt;background-color&gt;n40        <code>&lt;'background-color'&gt;</code>
n70        &lt;background-image&gt;n46        <code>&lt;'background-image'&gt;</code>
n76        &lt;background-position&gt;n52        <code>&lt;'background-position'&gt;</code>
n82        &lt;background-size&gt;n58        <code>&lt;'background-size'&gt;</code>
n88        &lt;background-repeat&gt;n64        <code>&lt;'background-repeat'&gt;</code>
n94        &lt;background-attachment&gt;n70        <code>&lt;'background-attachment'&gt;</code>
t100        &lt;background-clip&gt;t76        <code>&lt;'background-clip'&gt;</code>

Back to History