Text-decoration-color häsiýeti
text-decoration-color häsiýeti
tekstiň çyzygyňyň reňkini kesgitleýär.
Bu häsiýet bir ýerde
text-decoration-line
we text-decoration-style
häsiýetleri bilen ulanylmaly.
Bu häsiýetler
text-decoration
häsiýetiniň täsirini giňeldýär we onuň has ýokary derejeli degişlileridir.
Häsiýetiň bahasy hökmünde reňk üçin
islenen birinleri ulanylyp biliner.
Sintaksis
selektor {
text-decoration-color: islendik CSS formatynda reňk;
}
Belli däl üçin baha: tekstiň özi ýaly bir reňk.
Mysal
Indi tekst aşaky çyzyk bilen gyzyl reňkde çyzylar, sebäbi text-decoration-color
häsiýeti red bahasynda kesgitlendi:
<div id="elem">
Lorem ipsum dolor sit amet.
</div>
#elem {
text-decoration-style: solid;
text-decoration-color: red;
text-decoration-line: underline;
}
: