CSS kenarlık sağ stili Özellik
Örnek
Sağ kenarlık için bir stil belirleyin:
div {border-right-style: dotted;}
Aşağıda daha fazla "Kendiniz Deneyin" örnekleri.
Tanım ve Kullanım
Özellik border-right-style
, bir öğenin sağ 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.borderRightStyle="noktalı" |
Tarayıcı Desteği
Tablodaki sayılar, özelliği tam olarak destekleyen ilk tarayıcı sürümünü belirtir.
Property | |||||
---|---|---|---|---|---|
border-right-style | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
CSS Sözdizimi
border-right-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 sağ kenarlık:
div {border-right-style: dashed;}
Örnek
Sağlam bir sağ kenarlık:
div {border-right-style: solid;}
Örnek
Çift sağ kenarlık:
div {border-right-style: double;}
Örnek
Sağ kenarlığı kaldırın:
div {border-right-style: none;}
Örnek
Bir oluk sağ kenarlığı:
div {
border-right-style: groove;
border-right-color: coral;
border-right-width: 7px;
}
Örnek
Bir sırt sağ kenarlığı:
div {
border-right-style: ridge;
border-right-color: coral;
border-right-width: 7px;
}
Örnek
Ek bir sağ kenarlık:
div {
border-right-style: inset;
border-right-color: coral;
border-right-width: 7px;
}
Örnek
Bir başlangıç sağ kenarlığı:
div {
border-right-style: outset;
border-right-color: coral;
border-right-width: 7px;
}
İlgili Sayfalar
CSS eğitimi: CSS Sınırı
CSS referansı: border-right özelliği
HTML DOM referansı: borderRightStyle özelliği