Article
0 comment

Update on how to include 3rd party CSS in SharePoint Framework

Finally, we upgraded SASS to a new version of SASS, which brings tons of changes to your development. It started in SharePoint Framework version 1.15, and the transition is now completed in 1.16.1. While importing 3rd party CSS via ‘@import’ is still possible, this option will be lost at some point.

Title screen on Update on 3rd party CSS in SPFx

Let me explain what other options you have to import 3rd party CSS to your web parts or extension CSS.[Read more]

Article
2 comments

SVG background in CSS without base64 encoding – Possible?

While working on a side project, I asked myself the interesting question if it would be possible to use SVG in CSS as a background image.
It is relatively simple if you use the SVG as an external file, but what if the object of the background is simple and I like to use it directly as an SVG is CSS.

SVG in CSS without base64

In the past, I always base64 encode the source of the SVG image, which is not needed.

[Read more]