~/talk

Building Beautiful Blazor Apps with Tailwind CSS

Talkat DevReach 2023 · 2023-10-25..10-26· [web-platform, css]
slides:none on file

Shows how to add Tailwind CSS to a Blazor WebAssembly app using the Tailwind CLI: run npx tailwindcss -i styles/app.css -o wwwroot/css/app.css --watch, configure tailwind.config.js to scan .razor and .html, and use the three @tailwind directives in app.css. Demonstrates using @apply for site‑wide styles, factoring repeated markup into a Blazor component, and a no‑JS slide animation using translate-x-full opacity-0 plus transition/duration and OnAfterRender with Task.Delay; adds csproj build targets to produce a minified CSS for release.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09What is Tailwind CSS?
  3. 7:18Setting Up Tailwind
  4. 8:44Blazor Installation
  5. 12:29Styling with Tailwind
  6. 15:24Advanced Styling
  7. 17:58Scalable Styling
  8. 21:19Creating Animations
  9. 26:24Production Deployment
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.