Modal Spinner overlay color

When using 

CssClass="e-spin-overlay" on an sfSpinner to make it modal how can I change the overlay color from the grey color that it defaults to?


Thanks


1 Reply

BS Buvana Sathasivam Syncfusion Team April 20, 2022 06:41 PM UTC

Hi Sheldon,


Greetings from Syncfusion support.


You can use the following CSS to customize the spinner overlay background color as per your wish. Please find the below code and sample for your reference.

<style>

    .e-spinner-pane.e-spin-overlay {

        background-color: rgb(192,192,192); // Here, you can change the background color

    }

</style>


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Spinner-overlay-color935810077


Regards,

Buvana S


Loader.
Up arrow icon