Paprastas css (global)
css
.text {
...
}
jsx
import './file.css'
....
Module css
file.module.css
.text {
...
}
jsx
import css from './file.module.css`
...
<div className={css.text} >
...
In jsx
export default function Count() {
const span = span`
colort: green;
`
return <span>0</span>
}
global
styliai faile index.css
Tailwind
Pagal default css framework naudojamas sis
jsx
...
<div className="text-green text-xl"></div>