24
Views
5
Comments
Solved
Can I style a link to look like button?

I know it is redundant but can I style a link widget to look like a button and vice versa? I remember this coming out as a question in my Outsystems exam but I couldn't find the answer in the syllabus.  

2020-07-21 19-28-50
Rajat Agrawal
Champion
Solution

Hi @Damien Gan,

Can you please look below image you can use default class of outsystem "btn" class also in the link style property or you can customize your class also.



Hope this help you need any help please let me know!!

Regards,

Rajat

UserImage.jpg
Damien Gan

Hello, is a button considered a link if I remove the btn styling and remove the border?

2020-07-21 19-28-50
Rajat Agrawal
Champion
2020-11-25 10-45-32
Mostafa Othman
Champion

Hello,

Yes, you can change style of UI elements using CSS. So you can make link looks like a button.

2020-07-21 19-28-50
Rajat Agrawal
Champion
Solution

Hi @Damien Gan,

Can you please look below image you can use default class of outsystem "btn" class also in the link style property or you can customize your class also.



Hope this help you need any help please let me know!!

Regards,

Rajat

UserImage.jpg
Damien Gan

Hello, is a button considered a link if I remove the btn styling and remove the border?

2020-07-21 19-28-50
Rajat Agrawal
Champion
2024-09-18 00-55-18
Vitor Manzano Villela Dias

You can update the css style on the link

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