Change the default font size? #8
Answered
by
tomowang
junghan0611
asked this question in
Q&A
-
I want to make the font a little bigger, where can I change it? |
Beta Was this translation helpful? Give feedback.
Answered by
tomowang
Dec 27, 2023
Replies: 1 comment
-
Tailwind CSS use
html {
font-size: 10px;
}
const plugin = require('tailwindcss/plugin');
module.exports = {
// other settings
plugins: [
plugin(function({ addBase }) {
addBase({
'html': { fontSize: "10px" },
})
}),
],
} You need to run |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
junghan0611
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tailwind CSS use
rem
. Two options here:assets/css/main.css
:tailwind.config.js
:You need to run
npm run dev-tailwind
to generate finally CSS file.