From 504045fb23fa75a520a4d2665aea7d423db1fe14 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sun, 5 Jul 2026 23:13:49 +0530 Subject: Tailwind CSS sample project README updated --- tailwindcss/02-vite/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tailwindcss/02-vite/README') diff --git a/tailwindcss/02-vite/README b/tailwindcss/02-vite/README index cdce85a..04e2bd8 100644 --- a/tailwindcss/02-vite/README +++ b/tailwindcss/02-vite/README @@ -9,7 +9,7 @@ What Tailwind CSS features are used: Other important aspects of this project: - JavaScript local storage is used to permanently store the set theme by the user. This is not always required and Tailwind CSS can automatically pick the theme set at OS level. - - Font size increas and decress does not use Tailwind CSS. JavaScript has been used to set the root element's font size. That changes the size of all components in the page. Why? (Hint: Think about how the rem unit works) + - Font size increas and decress does not use Tailwind CSS. JavaScript has been used to set the root element's font size. That changes the size of all components in the page. Why? (Hint: Think about how the rem unit works). Sizes applied by Tailwind are usually relative. That means even after styling elements with Tailwind, those sizes increase or decrease relative to root element font size. Try this sample project: -- cgit v1.2.3