Browse Source

Updated documentation on className

css_transitions
josdejong 11 years ago
parent
commit
62ae58e88f
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      docs/timeline.html

+ 7
- 7
docs/timeline.html View File

@ -216,13 +216,13 @@ var items = [
<td>no</td> <td>no</td>
<td>This field is optional. A className can be used to give items <td>This field is optional. A className can be used to give items
an individual css style. For example, when an item has className an individual css style. For example, when an item has className
'red', one can define a css style
<code>
.red {
background-color: red;
border-color: dark-red;
}
</code>.
'red', one can define a css style like:
<pre class="prettyprint lang-css">
.vis.timeline .red {
color: white;
background-color: red;
border-color: darkred;
}</pre>
More details on how to style items can be found in the section More details on how to style items can be found in the section
<a href="#Styles">Styles</a>. <a href="#Styles">Styles</a>.
</td> </td>

Loading…
Cancel
Save