How to create button with a gradient
This article uses the Editor Cloud workflow and screenshots. Cloud and AVstudio Desktop are no longer supported and will shut down on January 15, 2027.
The example is retained for existing Cloud projects; it has not been adapted or verified for Editor NG. For transition guidance, see Moving from Editor Cloud.
Introduction
In this guide, you will learn how to create a button with a gradient background using custom CSS. This can enhance the visual appeal of your buttons and make them stand out on your user interface.
Create a custom CSS class
Open your AVStudio project, page or subpage, select project CSS in the left menu. It will open CSS editor. Create a new CSS class named button-gradient and add the following CSS code:
.button-gradient {
background: linear-gradient(0deg, rgba(23,34,49,1) 0%, rgba(56,219,213,1) 100%);
}

Use the custom CSS class in your element
To apply the gradient background to a button, add the button-gradient class to your button element in your project:

This will render a button with the specified gradient background.