Skip to content

zkoss-demo/tailwindcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a simple project to demonstrate how to use tailwindcss with ZK framework. It contains several examples about animations and transitions.

Examples

Hover

Buncing Button

bounce.gif

Expand / Collapse

collapseExpand1.gif collapseExpand2.gif

Expandable Search Field

expandable.gif

Fade In Modal Window

fadein.gif

Loading Spinner

loading.gif

Ping Effect

ping.gif

Pop-in Notification

popin.gif

Pulse Effect

pulse.gif

Slide In Panel

slidein.gif

Slide In Notification

slideinNotification.gif

How to run

mvn jetty:run

Installation

Just follow the steps with Tailwind CLI

  1. Install Tailwind CSS
    npm install -D tailwindcss
    npx tailwindcss init
  2. configure zul into template paths in tailwind.config.js
  3. Add the Tailwind directives to your CSS
  4. Start the Tailwind CLI build process
    npx tailwindcss -i ./src/main/webapp/css/input.css -o ./src/main/webapp/css/output.css --watch
  5. Start using Tailwind css in your zul

After starting the build process, it monitors all zul for CSS class you use and keep producing the output.css file based on the classes you use.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published