CSS kenarlık-alt stili Özellik
Örnek
Alt kenarlık için bir stil belirleyin:
div {border-bottom-style: dotted;}
Aşağıda daha fazla "Kendiniz Deneyin" örnekleri.
Tanım ve Kullanım
Özellik border-bottom-style
, bir öğenin alt kenarlığının stilini belirler.
Varsayılan değer: | Yok |
---|---|
Miras: | Hayır |
canlandırılabilir: | Hayır. Canlandırılabilir hakkında bilgi edinin |
Sürüm: | CSS1 |
JavaScript sözdizimi: | nesne .style.borderBottomStyle="noktalı" |
Tarayıcı Desteği
Tablodaki sayılar, özelliği tam olarak destekleyen ilk tarayıcı sürümünü belirtir.
Property | |||||
---|---|---|---|---|---|
border-bottom-style | 1.0 | 5.5 | 1.0 | 1.0 | 9.2 |
CSS Sözdizimi
border-bottom-style: none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit;
Mülk değerleri
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 |
Daha fazla örnek
Örnek
Kesikli bir alt kenarlık:
div {border-bottom-style: dashed;}
Örnek
Sağlam bir alt kenarlık:
div {border-bottom-style: solid;}
Örnek
Çift alt kenarlık:
div {border-bottom-style: double;}
Örnek
Alt kenarlığı kaldırın:
div {border-bottom-style: none;}
Örnek
Bir oluk alt kenarlığı:
div {
border-bottom-style: groove;
border-bottom-color: coral;
border-bottom-width: 7px;
}
Örnek
Bir sırt alt sınırı:
div {
border-bottom-style: ridge;
border-bottom-color: coral;
border-bottom-width: 7px;
}
Örnek
Bir iç alt kenarlık:
div {
border-bottom-style: inset;
border-bottom-color: coral;
border-bottom-width: 7px;
}
Örnek
Bir başlangıç alt sınırı:
div {
border-bottom-style: outset;
border-bottom-color: coral;
border-bottom-width: 7px;
}
İlgili Sayfalar
CSS eğitimi: CSS Sınırı
CSS referansı: border-bottom özelliği
HTML DOM referansı: borderBottomStyle özelliği