youtube image
From YouTube: Developing SPFx web parts for different section designs using CSS

Description

In this 19-minute Developer-focused demo, Stefan Bauer shows viewers how to make changes to the styling of a web part by creating variants on office UI fabric – site theming within a web part. Add a theme variant object to an SPFx web part. Redefine the CSS variables within the web part’s event handler. The theme variants are then available and called as CSS variables. This PnP Community demo is taken from the SharePoint Framework and JavaScript Special Interest Group (SIG) – Bi-weekly sync call recorded on January 14, 2021.

Demo Presenter: Stefan Bauer (N8D) | @StfBauer

Supporting document:
• Article - Develop SPFx web parts for different section designs using CSS | https://n8d.at/develop-spfx-web-parts-for-different-section-designs-using-css/

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