border-inline-start-style
Baseline
Widely available
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since 2020å¹´1æ.
border-inline-start-style 㯠CSS ã®ããããã£ã§ãè¦ç´ ã®è«ççãªã¤ã³ã©ã¤ã³æ¹åã®å
é å´ã®å¢çã®ã¹ã¿ã¤ã«ãå®ç¾©ãããããè¦ç´ ã®æ¸åæ¹åãããã¹ãã®æ¹åã«å¿ãã¦ç©ççãªå¢çã®ã¹ã¿ã¤ã«ã«å¯¾å¿ã¥ãããã¾ãããã㯠border-top-styleãborder-right-styleãborder-bottom-styleãborder-left-style ã®ããããã«å¯¾å¿ããã©ãã«å¯¾å¿ããã㯠writing-modeãdirectionãtext-orientation ã§å®ç¾©ãããå¤ã«ãã£ã¦æ±ºã¾ãã¾ãã
試ãã¦ã¿ã¾ããã
border-inline-start-style: dotted;
writing-mode: horizontal-tb;
border-inline-start-style: dotted;
writing-mode: vertical-rl;
border-inline-start-style: groove;
writing-mode: horizontal-tb;
direction: rtl;
<section class="default-example" id="default-example">
<div class="transition-all" id="example-element">
ããã¯å¨å²ã«å¢çç·ãããããã¯ã¹ã§ãã
</div>
</section>
#example-element {
background-color: #eeeeee;
color: black;
border: 0.75em solid;
padding: 0.75em;
width: 80%;
height: 100px;
unicode-bidi: bidi-override;
}
æ§æ
/* <'border-style'> å¤ */
border-inline-start-style: dashed;
border-inline-start-style: dotted;
border-inline-start-style: groove;
/* ã°ãã¼ãã«å¤ */
border-inline-start-style: inherit;
border-inline-start-style: initial;
border-inline-start-style: revert;
border-inline-start-style: revert-layer;
border-inline-start-style: unset;
é¢é£ããããããã£ã¨ãã¦ã¯ã border-block-start-styleãborder-block-end-styleãborder-inline-end-style ãè¦ç´ ã®ä»ã®å¢çã®ã¹ã¿ã¤ã«ãå®ç¾©ãã¾ãã
å¤
<'border-style'>-
å¢çã®ç·ã®ã¹ã¿ã¤ã«ã§ãã
border-styleãåç §ãã¦ãã ããã
å ¬å¼å®ç¾©
| åæå¤ | none |
|---|---|
| é©ç¨å¯¾è±¡ | ãã¹ã¦ã®è¦ç´ |
| ç¶æ¿ | ãªã |
| è¨ç®å¤ | æå®éã |
| ã¢ãã¡ã¼ã·ã§ã³ã®ç¨®é¡ | 颿£å¤ |
形弿æ³
border-inline-start-style =
<line-style>
<line-style> =
none |
hidden |
dotted |
dashed |
solid |
double |
groove |
ridge |
inset |
outset
ä¾
>HTML
<div>
<p class="exampleText">ããã¹ãã®ä¾</p>
</div>
CSS
div {
background-color: yellow;
width: 120px;
height: 120px;
}
.exampleText {
writing-mode: vertical-lr;
border: 5px solid blue;
border-inline-start-style: dashed;
}
仿§æ¸
| Specification |
|---|
| CSS Logical Properties and Values Module Level 1> # border-style> |
ãã©ã¦ã¶ã¼ã®äºææ§
é¢é£æ å ±
- CSS è«ççããããã£ã¨å¤
- ãã®ããããã£ã¯
border-top-styleãborder-right-styleãborder-bottom-styleãborder-left-styleã®ãã¡ã®ä¸ã¤ã«å¯¾å¿ã¥ãããã¾ã writing-modeãdirectionãtext-orientation