youtube image
From YouTube: Integrating Tailwind CSS framework into a SPFx React project for advance User Experience

Description

In this 15-minute Developer - focused demo, Fabio Franzini familiarizes listeners with the Tailwind CSS Framework, steps through installation, configuration and use/integration into an SPFx React project. CSS custom properties are used to manage Tailwind CSS Classes - the Theme Variant into sections. Tailwind delivers additional options for changing elements - weights, colors, fonts, backgrounds than OOB SharePoint themes/CSS. A powerful capability delivered by Tailwind CSS is responsive layout rendering. This PnP Community demo is taken from the SharePoint Framework and JavaScript Special Interest Group (SIG) – Bi-weekly sync call recorded on November 19, 2020.

Demo Presenter: Fabio Franzini | @franzinifabio

Supporting materials:
• CSS Framework site: Rapidly build modern websites without ever leaving your HTML. | https://tailwindcss.com/
• Repo: react-tailwindcss | https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-tailwindcss
• Sandbox - Tailwind Playground | https://play.tailwindcss.com/

Learn more:
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp-videos