Przejdź do treści

Tekst CSS

Źródło: CSS Text Module Level 3

hanging-punctuation

Zawieszenie znaków interpunkcyjnych

Wartość
none | [ first || [ force-end | allow-end ] || last ]
Inicjalizacja
none
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

hyphens

Dzielenie

Wartość
none | manual | auto
Inicjalizacja
manual
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

letter-spacing

Odstęp między literami

Wartość
normal | <length>
Inicjalizacja
normal
Zastosowanie
tekst i elementy inline w przypadku "display: flow"
Dziedziczenie
tak
Procenty
nie

line-break

Ścisłość przełamania linii

Wartość
auto | loose | normal | strict | anywhere
Inicjalizacja
auto
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

overflow-wrap

Przycinanie zawijania

Wartość
normal | break-word | anywhere
Inicjalizacja
normal
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

tab-size

Rozmiar znaku tabulacji

Wartość
<number> | <length>
Inicjalizacja
8
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

text-align

Wyrównanie tekstu

Wartość
start | end | left | right | center | justify | match-parent | justify-all
Inicjalizacja
start
Zastosowanie
elementy blokowe
Dziedziczenie
tak
Procenty
zobacz cechy indywidualne

text-align-all

Domyślne wyrównanie tekstu

Wartość
start | end | left | right | center | justify | match-parent
Inicjalizacja
start
Zastosowanie
elementy blokowe
Dziedziczenie
tak
Procenty
nie

text-align-last

Wyrównanie ostatniej linii tekstu

Wartość
auto | start | end | left | right | center | justify | match-parent
Inicjalizacja
auto
Zastosowanie
elementy blokowe
Dziedziczenie
tak
Procenty
nie

text-indent

Wcięcie

Wartość
[ <length-percentage> ] && hanging? && each-line?
Inicjalizacja
0
Zastosowanie
elementy blokowe
Dziedziczenie
tak
Procenty
odnosi się do rozmiaru kontenera w kierunku pisania

text-justify

Metoda justowania tesktu

Wartość
auto | none | inter-word | inter-character
Inicjalizacja
auto
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

text-transform

Transformacja tekstu

Wartość
none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana
Inicjalizacja
none
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

white-space

Białe znaki

Wartość
normal | pre | nowrap | pre-wrap | break-spaces | pre-line
Inicjalizacja
normal
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

word-break

Reguły przełamywania dla liter

Wartość
normal | keep-all | break-all | break-word
Inicjalizacja
normal
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

word-spacing

Odstęp między wyrazami

Wartość
normal | <length>
Inicjalizacja
normal
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

word-wrap

Zawijanie wyrazów

Wartość
normal | break-word | anywhere
Inicjalizacja
normal
Zastosowanie
tekst
Dziedziczenie
tak
Procenty
nie

Przeglądarki

❌ Nie działa   🔷 Zawiera błędy

Chrome

Firefox

Edge

Opera

Safari
selektor { hanging-punctuation: wartość }🔷 10
2016-09-20
selektor { hanging-punctuation: allow-end }10
2016-09-20
selektor { hanging-punctuation: first }10
2016-09-20
selektor { hanging-punctuation: last }10
2016-09-20
selektor { hanging-punctuation: none }10
2016-09-20
selektor { hyphens: wartość }55
2016-12-01
43
2015-12-15
79
2020-01-15
42
2016-12-13
17
2023-09-18
selektor { hyphens: auto }88
2021-01-19
6
2011-08-16
88
2021-01-21
74
2021-02-02
5.1
2011-07-20
selektor { hyphens: manual }88
2021-01-19
6
2011-08-16
88
2021-01-21
74
2021-02-02
5.1
2011-07-20
selektor { hyphens: none }88
2021-01-19
6
2011-08-16
88
2021-01-21
74
2021-02-02
5.1
2011-07-20
selektor { letter-spacing: wartość }1
2008-12-11
1
2004-11-09
12
2015-07-29
3.5
1998-11-18
1
2003-06-23
selektor { letter-spacing: normal }1
2008-12-11
1
2004-11-09
12
2015-07-29
15
2013-07-02
1
2003-06-23
selektor { line-break: wartość }58
2017-04-19
69
2019-09-03
14
2016-08-02
45
2017-05-10
11
2017-09-19
selektor { line-break: anywhere }83
2020-05-19
69
2019-09-03
83
2020-05-21
69
2020-06-24
13
2019-09-19
selektor { line-break: auto }25
2013-02-21
69
2019-09-03
79
2020-01-15
15
2013-07-02
7
2013-10-22
selektor { line-break: loose }25
2013-02-21
69
2019-09-03
79
2020-01-15
15
2013-07-02
8
2014-10-16
selektor { line-break: normal }1
2008-12-11
69
2019-09-03
79
2020-01-15
15
2013-07-02
2
2005-04-29
selektor { line-break: strict }25
2013-02-21
69
2019-09-03
79
2020-01-15
15
2013-07-02
8
2014-10-16
selektor { overflow-wrap: wartość }23
2012-11-06
49
2016-09-20
18
2018-10-02
12.1
2012-11-20
7
2013-10-22
selektor { overflow-wrap: anywhere }80
2020-02-04
65
2019-01-29
80
2020-02-07
67
2020-03-03
15.4
2022-03-14
selektor { overflow-wrap: break-word }1
2008-12-11
3.5
2009-06-30
12
2015-07-29
10.5
2010-03-02
1
2003-06-23
selektor { overflow-wrap: normal }1
2008-12-11
3.5
2009-06-30
12
2015-07-29
15
2013-07-02
1
2003-06-23
selektor { tab-size: wartość }21
2012-07-31
91
2021-08-10
79
2020-01-15
15
2013-07-02
7
2013-10-22
selektor { tab-size: length }42
2015-04-14
53
2017-04-19
79
2020-01-15
29
2015-04-28
13.1
2020-03-24
selektor { text-align: wartość }1
2008-12-11
1
2004-11-09
12
2015-07-29
3.5
1998-11-18
1
2003-06-23
selektor { text-align: center }1
2008-12-11
1
2004-11-09
79
2020-01-15
15
2013-07-02
≤4
2009-06-08
selektor { text-align: end }1
2008-12-11
1
2004-11-09
79
2020-01-15
15
2013-07-02
3.1
2008-03-18
selektor { text-align: justify }1
2008-12-11
1
2004-11-09
12
2015-07-29
15
2013-07-02
1
2003-06-23
selektor { text-align: left }1
2008-12-11
1
2004-11-09
79
2020-01-15
15
2013-07-02
≤4
2009-06-08
selektor { text-align: match-parent }40
2015-08-11
15.4
2022-03-14
selektor { text-align: right }1
2008-12-11
1
2004-11-09
79
2020-01-15
15
2013-07-02
≤4
2009-06-08
selektor { text-align: start }1
2008-12-11
1
2004-11-09
79
2020-01-15
15
2013-07-02
3.1
2008-03-18
selektor { text-align-last: wartość }47
2015-12-01
49
2016-09-20
12
2015-07-29
34
2015-12-08
16
2022-09-12
selektor { text-align-last: auto }47
2015-12-01
12
2012-04-24
12
2015-07-29
34
2015-12-08
16
2022-09-12
selektor { text-align-last: center }47
2015-12-01
12
2012-04-24
12
2015-07-29
34
2015-12-08
16
2022-09-12
selektor { text-align-last: end }47
2015-12-01
12
2012-04-24
79
2020-01-15
34
2015-12-08
16
2022-09-12
selektor { text-align-last: justify }47
2015-12-01
12
2012-04-24
12
2015-07-29
34
2015-12-08
16
2022-09-12
selektor { text-align-last: left }47
2015-12-01
12
2012-04-24
12
2015-07-29
34
2015-12-08
16
2022-09-12
selektor { text-align-last: match-parent }16
2022-09-12
selektor { text-align-last: right }47
2015-12-01
12
2012-04-24
12
2015-07-29
34
2015-12-08
16
2022-09-12
selektor { text-align-last: start }47
2015-12-01
12
2012-04-24
79
2020-01-15
34
2015-12-08
16
2022-09-12
selektor { text-indent: wartość }1
2008-12-11
1
2004-11-09
12
2015-07-29
3.5
1998-11-18
1
2003-06-23
selektor { text-indent: each-line }146
2026-03-10
121
2023-12-19
146
2026-03-12
15
2013-07-02
15
2021-09-20
selektor { text-indent: hanging }146
2026-03-10
121
2023-12-19
146
2026-03-12
15
2013-07-02
15
2021-09-20
selektor { text-justify: wartość }145
2026-02-10
55
2017-08-08
145
2026-02-14
15
2013-07-02
selektor { text-justify: auto }145
2026-02-10
55
2017-08-08
145
2026-02-14
15
2013-07-02
selektor { text-justify: inter-character }145
2026-02-10
55
2017-08-08
145
2026-02-14
15
2013-07-02
selektor { text-justify: inter-word }145
2026-02-10
55
2017-08-08
145
2026-02-14
15
2013-07-02
selektor { text-justify: none }145
2026-02-10
55
2017-08-08
145
2026-02-14
15
2013-07-02
selektor { text-transform: wartość }1
2008-12-11
1
2004-11-09
12
2015-07-29
7
2003-01-28
1
2003-06-23
selektor { text-transform: capitalize }1
2008-12-11
1
2004-11-09
12
2015-07-29
7
2003-01-28
1
2003-06-23
selektor { text-transform: full-size-kana }64
2018-12-11
17
2023-09-18
selektor { text-transform: full-width }19
2013-02-19
17
2023-09-18
selektor { text-transform: lowercase }1
2008-12-11
1
2004-11-09
12
2015-07-29
15
2013-07-02
1
2003-06-23
selektor { text-transform: none }1
2008-12-11
1
2004-11-09
12
2015-07-29
15
2013-07-02
1
2003-06-23
selektor { text-transform: uppercase }1
2008-12-11
1
2004-11-09
12
2015-07-29
15
2013-07-02
1
2003-06-23
selektor { white-space: wartość }1
2008-12-11
1
2004-11-09
12
2015-07-29
4
2000-06-28
1
2003-06-23
selektor { white-space: break-spaces }76
2019-07-30
69
2019-09-03
79
2020-01-15
62
2019-06-27
13.1
2020-03-24
selektor { white-space: normal }1
2008-12-11
1
2004-11-09
12
2015-07-29
15
2013-07-02
1
2003-06-23
selektor { white-space: nowrap }1
2008-12-11
1
2004-11-09
12
2015-07-29
4
2000-06-28
1
2003-06-23
selektor { white-space: pre }1
2008-12-11
1
2004-11-09
12
2015-07-29
4
2000-06-28
1
2003-06-23
selektor { white-space: pre-line }1
2008-12-11
3.5
2009-06-30
12
2015-07-29
9.5
2008-06-12
3
2007-10-26
selektor { white-space: pre-wrap }1
2008-12-11
3
2008-06-17
12
2015-07-29
8
2005-04-19
3
2007-10-26
selektor { word-break: wartość }1
2008-12-11
15
2012-08-28
12
2015-07-29
15
2013-07-02
3
2007-10-26
selektor { word-break: break-all }1
2008-12-11
15
2012-08-28
12
2015-07-29
15
2013-07-02
3
2007-10-26
selektor { word-break: break-word }1
2008-12-11
67
2019-05-21
12
2015-07-29
15
2013-07-02
3
2007-10-26
selektor { word-break: keep-all }44
2015-07-21
15
2012-08-28
12
2015-07-29
31
2015-08-04
9
2015-09-30
selektor { word-break: normal }1
2008-12-11
15
2012-08-28
12
2015-07-29
15
2013-07-02
3
2007-10-26
selektor { word-spacing: wartość }1
2008-12-11
1
2004-11-09
12
2015-07-29
3.5
1998-11-18
1
2003-06-23
selektor { word-spacing: normal }1
2008-12-11
1
2004-11-09
12
2015-07-29
3.5
1998-11-18
1
2003-06-23
Facebook