Skip to content

Commit 0340b2a

Browse files
authored
Merge pull request #323 from ut-code/fix-advanced-css-exercise
2 parents 9648103 + abe2461 commit 0340b2a

File tree

1 file changed

+4
-12
lines changed
  • docs/2-browser-apps/07-advanced-css

1 file changed

+4
-12
lines changed

docs/2-browser-apps/07-advanced-css/index.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,12 @@ CSS ファイルの拡張子は通常 `.css` です。今回は `index.html` と
7373

7474
次のような条件を満たす要素を選択するセレクタは何でしょうか。
7575

76-
- `id` 属性が `foo` の要素
77-
- `class` 属性に `bar` が含まれる要素の子孫の要素のうち、`button` 要素であるもの
76+
1. `id` 属性が `foo` の要素
77+
2. `class` 属性に `bar` が含まれる要素の子孫の要素のうち、`button` 要素であるもの
7878

7979
<Answer>
8080

81-
```css
82-
<!-- id 属性が foo の要素 -->
83-
#foo {
84-
<!-- 処理 -->
85-
}
86-
<!-- class 属性に bar が含まれる要素の子孫の要素のうち、button 要素であるもの -->
87-
.bar button {
88-
<!-- 処理 -->
89-
}
90-
```
81+
1. `#foo`
82+
2. `.bar button`
9183

9284
</Answer>

0 commit comments

Comments
 (0)