خاصية لون زخرفة النص في CSS
مثال
اضبط لون زخرفة النص على اللون الأحمر:
p
{
text-decoration: underline;
text-decoration-color: red;
}
التعريف والاستخدام
تحدد الخاصية لون text-decoration-color
زخرفة النص (تسطير ، خطوط فوقية ، خطوط خطية).
القيمة الافتراضية: | CurrentColor |
---|---|
وارث: | رقم |
متحرك: | نعم. اقرأ عن animatable |
الإصدار: | CSS3 |
بناء جملة JavaScript: | الكائن .style.textDecorationColor = "أحمر" |
دعم المتصفح
تحدد الأرقام الواردة في الجدول إصدار المتصفح الأول الذي يدعم الخاصية بالكامل.
تحدد الأرقام المتبوعة بـ -moz- أو -webkit- الإصدار الأول الذي يعمل مع بادئة.
Property | |||||
---|---|---|---|---|---|
text-decoration-color | 57.0 | 79.0 | 36.0 6.0 -moz- |
12.1 7.1 -webkit- |
44.0 |
بنية CSS
text-decoration-color: color|initial|inherit;
قيم الملكية
Value | Description | Play it |
---|---|---|
color | Specifies the color of the text-decoration | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
الصفحات ذات الصلة
دروس CSS: نص CSS
مرجع DOM HTML: خاصية textDecorationColor