Skip to content

Commit

Permalink
ライブサンプルの表示方法を変更
Browse files Browse the repository at this point in the history
  • Loading branch information
mfuji09 committed Dec 18, 2024
1 parent e87c369 commit 01ddd55
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
8 changes: 4 additions & 4 deletions files/ja/web/css/margin-block-end/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ margin-block-end: unset;

#### HTML

```html
```html live-sample___setting_block_end_margin
<div>
<p class="exampleText">Example text</p>
<p class="exampleText">テキストの例</p>
</div>
```

#### CSS

```css
```css live-sample___setting_block_end_margin
div {
background-color: yellow;
width: 120px;
Expand All @@ -76,7 +76,7 @@ div {

#### 結果

{{EmbedLiveSample("ブロック方向の末尾のマージンを設定", 140, 140)}}
{{EmbedLiveSample("Setting_block_end_margin", 140, 140)}}

## 仕様書

Expand Down
8 changes: 4 additions & 4 deletions files/ja/web/css/margin-block-start/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ margin-block-start: unset;

#### HTML

```html
```html live-sample___setting_block_start_margin
<div>
<p class="exampleText">Example text</p>
<p class="exampleText">テキストの例</p>
</div>
```

#### CSS

```css
```css live-sample___setting_block_start_margin
div {
background-color: yellow;
width: 120px;
Expand All @@ -76,7 +76,7 @@ div {

#### 結果

{{EmbedLiveSample("ブロック方向の先頭のマージンの設定", 140, 140)}}
{{EmbedLiveSample("Setting_block_start_margin", 140, 140)}}

## 仕様書

Expand Down
12 changes: 6 additions & 6 deletions files/ja/web/css/margin-block/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ margin-block: unset;

## 形式文法

{{CSSSyntax}}
{{csssyntax}}

## 例

### ブロック方向の先頭と末尾のマージンを設定

#### CSS

```css
```css live-sample___setting_block_start_and_end_margins
div {
background-color: yellow;
width: 120px;
Expand All @@ -84,18 +84,18 @@ p {

#### HTML

```html
```html live-sample___setting_block_start_and_end_margins
<div>
<p>Example text</p>
<p>テキストの例</p>
</div>
<div class="verticalExample">
<p>Example text</p>
<p>テキストの例</p>
</div>
```

#### 結果

{{EmbedLiveSample("ブロック方向の先頭と末尾のマージンを設定", 140, 200)}}
{{EmbedLiveSample("Setting_block_start_and_end_margins", 140, 200)}}

## 仕様書

Expand Down
8 changes: 4 additions & 4 deletions files/ja/web/css/margin-inline-end/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ margin-inline-end: unset;

#### HTML

```html
```html live-sample___setting_inline_end_margin
<div>
<p class="exampleText">Example text</p>
<p class="exampleText">テキストの例</p>
</div>
```

#### CSS

```css
```css live-sample___setting_inline_end_margin
div {
background-color: yellow;
width: 120px;
Expand All @@ -74,7 +74,7 @@ div {

#### 結果

{{EmbedLiveSample("インライン方向の末尾側のマージンの設定", 140, 140)}}
{{EmbedLiveSample("Setting_inline_end_margin", 140, 140)}}

## 仕様書

Expand Down
8 changes: 4 additions & 4 deletions files/ja/web/css/margin-inline-start/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ margin-inline-start: unset;

#### HTML

```html
```html live-sample___setting_inline_start_margin
<div>
<p class="exampleText">Example text</p>
<p class="exampleText">テキストの例</p>
</div>
```

#### CSS

```css
```css live-sample___setting_inline_start_margin
div {
background-color: yellow;
width: 120px;
Expand All @@ -74,7 +74,7 @@ div {

#### 結果

{{EmbedLiveSample("インライン方向の先頭側のマージンの設定", 140, 140)}}
{{EmbedLiveSample("Setting_inline_start_margin", 140, 140)}}

## 仕様書

Expand Down
10 changes: 5 additions & 5 deletions files/ja/web/css/margin-inline/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ margin-inline: unset;

#### CSS

```css
```css live-sample___setting_inline_start_and_end_margins
div {
background-color: yellow;
width: 120px;
Expand All @@ -84,18 +84,18 @@ p {

#### HTML

```html
```html live-sample___setting_inline_start_and_end_margins
<div>
<p>Example text</p>
<p>テキストの例</p>
</div>
<div class="verticalExample">
<p>Example text</p>
<p>テキストの例</p>
</div>
```

#### 結果

{{EmbedLiveSample("インライン方向の先頭と末尾のマージンの設定", 140, 240)}}
{{EmbedLiveSample("Setting_inline_start_and_end_margins", 140, 240)}}

## 仕様書

Expand Down

0 comments on commit 01ddd55

Please sign in to comment.