GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

How to make button transparent?

Hi,
Cloud anyone tell me,
How to make button's background transparent?
Thanks for any reply.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to make button transparent?

Hello!

You can set class for button and specify necessary rules in in custom CSS code.
Here is more information http://docs.appery.io/documentation/w...

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

How to make button transparent?

Hello Maryna,
Thank you for reply,
I try to set button css like
background-color: rgba(0, 0, 0, 0.6)
or
background:transparent
but these do not work.
Could you tell me ,If I want set button background css, what selecter should I use?
For all button.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to make button transparent?

Have you checked the reference I posted above http://docs.appery.io/documentation/w... (Applying style to components)?

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

How to make button transparent?

Hello Maryna,
I read that post,
I write css like below,
.transbutton{
background-color: transparent;
border: none;
}
then set button's Class Name to "transbutton",but it does not work.

Then I try to set css like:
#Pagename_buttonname {
background-color: transparent;
border: none;
}
It works,
Could you tell me why "transbutton" does not work?
Anything wrong?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to make button transparent?

In case of class selector use the following code pre.transbtn{
background-color: transparent !important;
border: none !important;
}/pre

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

How to make button transparent?

Hello Maryna,
It is what I need,work like a charm.
Thank you very much.

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to make button transparent?

it does not work :(

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to make button transparent?

Hello!

Could you clarify what have you tried and what exactly doesn't work?

Return to “Issues”