10
Views
4
Comments
Solved
How to make gradient color in a button?
Question
Application Type
Mobile

Hi there,

I am wondering can we make a button in outsystems using gradient color, not solid, like this:

thanks 

2026-06-06 05-35-01
ABHIJITH G
Champion
Solution

Hi @IQ78 ,
You can create gradient buttons using custom CSS. For example, I added a new class to make the button gradient

After creating a new class, you can add it to the button you want to make gradient.
Hopes this help

Regards
Abhijith

2025-07-28 06-45-20
Rupesh Patil
Solution

hi @IQ78 

You can add new class btn-gradient and add this css:

.btn-gradient {

     background: linear-gradient(90deg,#f6a000 0%,#e68600 40%,#cf6f00 75%,#b95f00 100%);

     color: #fff;

     border-radius: 10px;

     padding: 24px;

     text-align: center;

     border: 0px;

     width: 100%;

}

I hope this helps

Thanks



2024-10-05 13-30-20
Huy Hoang The
Solution

You can add custom-class for button

and override color:  backgound: linear-gardient()

2026-06-06 05-35-01
ABHIJITH G
Champion
Solution

Hi @IQ78 ,
You can create gradient buttons using custom CSS. For example, I added a new class to make the button gradient

After creating a new class, you can add it to the button you want to make gradient.
Hopes this help

Regards
Abhijith

2025-07-28 06-45-20
Rupesh Patil
Solution

hi @IQ78 

You can add new class btn-gradient and add this css:

.btn-gradient {

     background: linear-gradient(90deg,#f6a000 0%,#e68600 40%,#cf6f00 75%,#b95f00 100%);

     color: #fff;

     border-radius: 10px;

     padding: 24px;

     text-align: center;

     border: 0px;

     width: 100%;

}

I hope this helps

Thanks



2024-10-05 13-30-20
Huy Hoang The
Solution

You can add custom-class for button

and override color:  backgound: linear-gardient()

2025-01-09 14-56-57
IQ78

Thank u, alls


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.