A simple React + Tailwind example that demonstrates how to open and close an alert with smooth transitions, without pushing surrounding content.
- Button toggles an alert on/off.
- Alert is absolutely positioned, so it doesn’t shift the layout.
- Smooth fade & slide transition using Tailwind CSS.
- Fully responsive.
git clone https://github.com/pr-assignments/alert.git
cd alert
npm install
npm run dev