Bootstrap"

From Documentation
Line 24: Line 24:
  
 
<syntaxhighlight lang='xml'>
 
<syntaxhighlight lang='xml'>
<?link rel="stylesheet" href="webjars/bootstrap/4.6.0/css/bootstrap.min.css"?>
+
<?link rel="stylesheet" href="/webjars/bootstrap/4.6.0/css/bootstrap.min.css"?>
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  
 
{{ZKDevelopersReferencePageFooter}}
 
{{ZKDevelopersReferencePageFooter}}

Revision as of 08:30, 29 March 2023


Bootstrap is a very popular front-end framework for building responsive, mobile-first sites. It can be a good companion for ZK with the following usages:

See the integration example: admin template

Include Bootstrap

To avoid downloading bootstrap manually, it's convenient to include it by WebJars with Maven.

		<dependency>
			<groupId>org.webjars</groupId>
			<artifactId>bootstrap</artifactId>
			<version>4.6.0</version>
		</dependency>


Include CSS

<?link rel="stylesheet" href="/webjars/bootstrap/4.6.0/css/bootstrap.min.css"?>



Last Update : 2023/03/29

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