Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit aebf46c

Browse files
author
Vladimir Enchev
committed
Update styling.md
1 parent de79ad9 commit aebf46c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

styling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ button { background-color: gray }
119119

120120
### Class Selector
121121
[Class selectors](http://www.w3schools.com/cssref/sel_class.asp) select all views with a given class.
122-
The class is set using the `cssClass` property of the view.
122+
The class is set using the `cssClass` property of the view or `class` attribute in XML.
123123

124124

125125
```CSS
@@ -134,7 +134,7 @@ var label = new labelModule.Label();
134134
label.cssClass = "title"
135135
```
136136
```XML
137-
<Label cssClass="title" />
137+
<Label class="title" />
138138
```
139139

140140
### ID Selector

0 commit comments

Comments
 (0)