Skip to content

Commit 64aa93f

Browse files
committed
fixes
1 parent 00b8802 commit 64aa93f

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

learn/selectors/attribute-case.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
</style>
1111

1212
<style class="editable">
13-
li[class^=a] {
13+
li[class^="a"] {
1414
background-color: yellow;
1515
}
1616

17-
li[class^=a i] {
17+
li[class^="a" i] {
1818
color: red;
1919
}
2020

@@ -33,11 +33,11 @@ <h1>Case-insensitivity</h1>
3333
</section>
3434

3535
<textarea class="playable playable-css" style="height: 200px;">
36-
li[class^=a] {
36+
li[class^="a"] {
3737
background-color: yellow;
3838
}
3939

40-
li[class^=a i] {
40+
li[class^="a" i] {
4141
color: red;
4242
}
4343
</textarea>

learn/selectors/attribute-substring.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
</style>
1111

1212
<style class="editable">
13-
li[class^=a] {
13+
li[class^="a"] {
1414
font-size: 200%;
1515
}
1616

17-
li[class$=a] {
17+
li[class$="a"] {
1818
background-color: yellow;
1919
}
2020

21-
li[class*=a] {
21+
li[class*="a"] {
2222
color: red;
2323
}
2424

@@ -38,15 +38,15 @@ <h1>Attribute substring matching selectors</h1>
3838
</section>
3939

4040
<textarea class="playable playable-css" style="height: 200px;">
41-
li[class^=a] {
41+
li[class^="a"] {
4242
font-size: 200%;
4343
}
4444

45-
li[class$=a] {
45+
li[class$="a"] {
4646
background-color: yellow;
4747
}
4848

49-
li[class*=a] {
49+
li[class*="a"] {
5050
color: red;
5151
}
5252
</textarea>

learn/selectors/attribute.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
font-size: 200%;
1515
}
1616

17-
li[class=a] {
17+
li[class="a"] {
1818
background-color: yellow;
1919
}
2020

21-
li[class~=a] {
21+
li[class~="a"] {
2222
color: red;
2323
}
2424

@@ -42,11 +42,11 @@ <h1>Attribute presence and value selectors</h1>
4242
font-size: 200%;
4343
}
4444

45-
li[class=a] {
45+
li[class="a"] {
4646
background-color: yellow;
4747
}
4848

49-
li[class~=a] {
49+
li[class~="a"] {
5050
color: red;
5151
}
5252
</textarea>

0 commit comments

Comments
 (0)