Skip to content

Commit 5d1395c

Browse files
authored
translate 01-svelte/01-introduction/04-styling into Japanese (#3)
1 parent 93aad66 commit 5d1395c

File tree

1 file changed

+2
-2
lines changed
  • content/tutorial/01-svelte/01-introduction/04-styling

1 file changed

+2
-2
lines changed

content/tutorial/01-svelte/01-introduction/04-styling/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Styling
33
---
44

5-
Just like in HTML, you can add a `<style>` tag to your component. Let's add some styles to the `<p>` element:
5+
HTMLと同じように、コンポーネントには `<style>` タグを置くことができます。`<p>` 要素にいくつかスタイルを追加してみましょう。
66

77
```svelte
88
<p>This is a paragraph.</p>
@@ -16,4 +16,4 @@ Just like in HTML, you can add a `<style>` tag to your component. Let's add some
1616
</style>
1717
```
1818

19-
Importantly, these rules are _scoped to the component_. You won't accidentally change the style of `<p>` elements elsewhere in your app, as we'll see in the next step.
19+
重要なのは、これらのスタイルが _このコンポーネントにのみ適用されるということです_ 。次のステップで説明しますが、別の箇所の `<p>` 要素のスタイルに影響を与えてしまうようなことはありません。

0 commit comments

Comments
 (0)