About
Class Background is a class that can be used to set the background color of a specific element.
Class List
This class is skin-based, all items listed in Skin List
can be used as background class. The class writing format is as follows:
Note: Replace skin with the skin name. Example: w-bg-blue, w-bg-red
w-bg-skin
Note: Replace skin with the skin name. Example: w-bg-blue, w-bg-red
Usage
Add the class to the desired element.
<table>
<tbody>
<tr>
<td class='w-bg-blue'>Cell 1.1</td>
<td>Cell 1.2</td>
</tr>
<tr>
<td>Cell 2.1</td>
<td class='w-bg-red w-color-white'>Cell 2.2</td>
</tr>
</tbody>
</table>
| Cell 1.1 | Cell 1.2 |
| Cell 2.1 | Cell 2.2 |