Skip to content

Commit fb85804

Browse files
author
Adam Plesnik
committed
Add Tailwind to CSS
1 parent a2beb87 commit fb85804

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

docs/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function App() {
2-
return <>Silence.</>
2+
return <div className="flex h-svh w-full items-center justify-center">Silence.</div>
33
}
44

55
export default App

docs/src/index.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

docs/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ import './index.css'
66
ReactDOM.createRoot(document.getElementById('root')!).render(
77
<React.StrictMode>
88
<App />
9-
</React.StrictMode>,
9+
</React.StrictMode>
1010
)

0 commit comments

Comments
 (0)