You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been looking a way to add repetitive CSS classes into one class.
Following is my project dir:
. ├── Cargo.lock ├── Cargo.toml ├── Dioxus.toml ├── LICENSE ├── README.md ├── assets │ ├── favicon.ico │ ├── header.svg │ ├── main.css │ └── tailwind.css ├── input.css ├── public │ └── tailwind.css ├── src │ ├── contacts.rs │ ├── home.rs │ ├── main.rs │ ├── payment.rs │ ├── profile.rs │ └── wallet.rs └── tailwind.config.js
I added CSS classes into `public/tailwind.css`:
And the rust code:
But, on running the 2 terminals (one for tailwind compilation & the other for
dx serve
):I couldn't get my CSS design reflected in the UI.
Current output:
Expected ouput:
I am not sure what I am missing 🤔.
Any help please?
Beta Was this translation helpful? Give feedback.
All reactions