The Style Class (sclass)

From Documentation
The Style Class (sclass)

Stop.png This documentation is for an older version of ZK. For the latest one, please click here.

The style component is used to specify CSS styles in a ZUML page. The simplest format is as follows. You can define the style property of a component.

	<textbox style="color: red; font-style: oblique;"/>

Or define CSS inside <style/>, and assign it to component through sclass

		.red { 
			color: blue; 
			font-style: oblique;
	<textbox sclass="red" />

Last Update : 2022/01/19

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.