A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/ja/docs/Web/CSS/border-inline-end-width below:

border-inline-end-width - CSS: カスケーディングスタイルシート | MDN

border-inline-end-width

Baseline Widely available

border-inline-end-width は CSS のプロパティで、要素の論理的なインライン方向の終端側の境界の幅を定義し、それが要素の書字方向やテキストの方向に応じて物理的な境界の幅に対応づけられます。これは border-top-width、border-right-width、border-bottom-width、border-left-width の何れかに対応し、どれに対応するかは writing-mode、direction、text-orientation で定義された値によって決まります。

試してみましょう
border-inline-end-width: thick;
writing-mode: horizontal-tb;
border-inline-end-width: thick;
writing-mode: vertical-rl;
border-inline-end-width: 4px;
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: palegreen;
  color: #000;
  border: 0 solid crimson;
  padding: 0.75em;
  width: 80%;
  height: 100px;
  unicode-bidi: bidi-override;
}
構文
/* <'border-width'> 値 */
border-inline-end-width: 2px;
border-inline-end-width: thick;

/* グローバル値 */
border-inline-end-width: inherit;
border-inline-end-width: initial;
border-inline-end-width: revert;
border-inline-end-width: revert-layer;
border-inline-end-width: unset;

関連するプロパティとしては、 border-block-start-width、border-block-end-width、border-inline-start-width が要素の他の境界の幅を定義します。

値
<'border-width'>

境界の幅です。 border-width を参照してください。

公式定義 形式文法
border-inline-end-width = 
<line-width>

<line-width> =


<length [0,∞]> |
thin |
medium |
thick
例 テキストが垂直方向の場合の境界の適用 HTML
<div>
  <p class="exampleText">テキストの例</p>
</div>
CSS
div {
  background-color: yellow;
  width: 120px;
  height: 120px;
}

.exampleText {
  writing-mode: vertical-lr;
  border: 1px solid blue;
  border-inline-end-width: 5px;
}
結果 仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4