Fixed Class Names (#26547)
This commit is contained in:
committed by
Kristofer Koishigawa
parent
bf171cc7a2
commit
acf001941a
@ -28,7 +28,7 @@ You can also declare more than one class to your element, like:
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
|
|
||||||
<div class="ironMan alfred">
|
<div class="iron-man alfred">
|
||||||
We're going to save you.
|
We're going to save you.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ Then in your css file:
|
|||||||
|
|
||||||
```css
|
```css
|
||||||
|
|
||||||
.ironMan{
|
.iron-man{
|
||||||
color:red;
|
color:red;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ Then in your css file:
|
|||||||
|
|
||||||
You can also combine classes in the same line:
|
You can also combine classes in the same line:
|
||||||
```css
|
```css
|
||||||
.superMan .spiderMan {
|
.super-man .spider-man {
|
||||||
color: red;
|
color: red;
|
||||||
background-color: blue;
|
background-color: blue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user