Skip to content

Commit

Permalink
fix: fixed to show demo
Browse files Browse the repository at this point in the history
  • Loading branch information
OHMORIYUSUKE committed Dec 8, 2024
1 parent 632ded7 commit da747ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions files/ja/learn/css/first_steps/how_css_is_structured/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,11 @@ CSS のプロパティと値は大文字と小文字を区別しません。そ

例として、CSS 内で単純な計算を行うことができる `calc()` 関数が挙げられます。

```html
```html live-sample___the_calc_function
<div class="outer"><div class="box">The inner box is 90% - 30px.</div></div>
```

```css
```css live-sample___the_calc_function
.outer {
border: 5px solid black;
}
Expand All @@ -316,11 +316,11 @@ CSS のプロパティと値は大文字と小文字を区別しません。そ

他の例としては、 {{cssxref("transform")}} のさまざまな値、たとえば `rotate()` などがあります。

```html
```html live-sample___transform_functions
<div class="box"></div>
```

```css
```css live-sample___transform_functions
.box {
margin: 30px;
width: 100px;
Expand Down

0 comments on commit da747ca

Please sign in to comment.