خاصية CSS ذات نمط الحد السفلي
مثال
عيّن نمطًا للحد السفلي:
div {border-bottom-style: dotted;}
المزيد من الأمثلة "جربها بنفسك" أدناه.
التعريف والاستخدام
تحدد الخاصية نمط border-bottom-style
الحد السفلي للعنصر.
القيمة الافتراضية: | لا أحد |
---|---|
وارث: | رقم |
متحرك: | رقم. اقرأ عن animatable |
الإصدار: | CSS1 |
بناء جملة JavaScript: | الكائن .style.borderBottomStyle = "منقط" |
دعم المتصفح
تحدد الأرقام الواردة في الجدول إصدار المتصفح الأول الذي يدعم الخاصية بالكامل.
Property | |||||
---|---|---|---|---|---|
border-bottom-style | 1.0 | 5.5 | 1.0 | 1.0 | 9.2 |
بنية CSS
border-bottom-style: none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit;
قيم الملكية
Value | Description | Play it |
---|---|---|
none | Specifies no border. This is default | |
hidden | The same as "none", except in border conflict resolution for table elements | |
dotted | Specifies a dotted border | |
dashed | Specifies a dashed border | |
solid | Specifies a solid border | |
double | Specifies a double border | |
groove | Specifies a 3D grooved border. The effect depends on the border-color value | |
ridge | Specifies a 3D ridged border. The effect depends on the border-color value | |
inset | Specifies a 3D inset border. The effect depends on the border-color value | |
outset | Specifies a 3D outset border. The effect depends on the border-color value | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
مزيد من الأمثلة
مثال
حد سفلي متقطع:
div {border-bottom-style: dashed;}
مثال
حد سفلي متصل:
div {border-bottom-style: solid;}
مثال
حد سفلي مزدوج:
div {border-bottom-style: double;}
مثال
قم بإزالة الحد السفلي:
div {border-bottom-style: none;}
مثال
حد سفلي أخدود:
div {
border-bottom-style: groove;
border-bottom-color: coral;
border-bottom-width: 7px;
}
مثال
حد سفلي من التلال:
div {
border-bottom-style: ridge;
border-bottom-color: coral;
border-bottom-width: 7px;
}
مثال
حد سفلي داخلي:
div {
border-bottom-style: inset;
border-bottom-color: coral;
border-bottom-width: 7px;
}
مثال
بداية حد سفلي:
div {
border-bottom-style: outset;
border-bottom-color: coral;
border-bottom-width: 7px;
}
الصفحات ذات الصلة
دروس CSS: CSS Border
مرجع CSS: خاصية border-bottom
مرجع DOM HTML: خاصية borderBottomStyle