aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/css/list-style-image/index.html
blob: 91d05bc8bfe39d53e586ca66e1553e28b89b434b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
title: list-style-image
slug: Web/CSS/list-style-image
tags:
  - CSS
  - 'CSS:Dokumentacje'
  - Dokumentacje
  - Wszystkie_kategorie
translation_of: Web/CSS/list-style-image
---
<p>{{ CSSRef() }}</p>

<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>

<p><code>list-style-image</code> określa plik graficzny, który ma zostać użyty jako znacznik <a href="pl/HTML/Element/li">elementu listy</a>.</p>

<ul>
 <li>{{ Xref_cssinitial() }}: {{ Cssxref("none") }}</li>
 <li>Stosowana do: elementów z 'display: list-item'</li>
 <li>{{ Xref_cssinherited() }}: tak</li>
 <li>Procenty: niedostępne</li>
 <li>Media: {{ Xref_cssvisual() }}</li>
 <li>{{ Xref_csscomputed() }}: bezwzględny URI lub <code>none</code></li>
</ul>

<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>

<pre class="eval">list-style-image: &lt;uri&gt; | none | inherit
</pre>

<h3 id="Warto.C5.9Bci" name="Warto.C5.9Bci">Wartości</h3>

<dl>
 <dt><code>uri</code></dt>
 <dd>Adres pliku graficznego.</dd>
</dl>

<h2 id="Przykłady">Przykłady</h2>

<h3 id="HTML">HTML</h3>

<pre class="brush: html">&lt;ul&gt;
    &lt;li&gt;Item 1&lt;/li&gt;
    &lt;li&gt;Item 2&lt;/li&gt;
&lt;/ul&gt;
</pre>

<h3 id="CSS">CSS</h3>

<pre class="brush: css">ul {
  list-style-image: url("https://mdn.mozillademos.org/files/11981/starsolid.gif")
}</pre>

<h3 id="Result">Result</h3>

<p>{{EmbedLiveSample('Przykłady')}}</p>

<h3 id="Dokumentacja" name="Dokumentacja">Dokumentacja</h3>

<ul>
 <li><a class="external" href="http://www.w3.org/TR/CSS1#list-style-image">CSS 1</a></li>
 <li><a class="external" href="http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-image">CSS 2.1</a></li>
 <li><a class="external" href="http://www.w3.org/TR/2002/WD-css3-lists-20021107/#list-content0">CSS 3</a></li>
</ul>

<h3 id="Kompatybilno.C5.9B.C4.87_z_przegl.C4.85darkami" name="Kompatybilno.C5.9B.C4.87_z_przegl.C4.85darkami">Kompatybilność z przeglądarkami</h3>

<h3 id="Zobacz_tak.C5.BCe" name="Zobacz_tak.C5.BCe">Zobacz także</h3>

<p>{{ Cssxref("list-style") }}, {{ Cssxref("list-style-type") }}, {{ Cssxref("list-style-position") }}</p>