cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Background of button

mantrishekar
Active Participant
0 Kudos

Hello All,

I am creating sap.m.Button.

I applied css for hover.

Now my issue is when keep my mouse cursor it is showing text in dark color as well as some white background.

Now i want to hide the white background on button.

Could any body please help me to hide the background on button.

Regards,

Shekar

Accepted Solutions (0)

Answers (2)

Answers (2)

saivellanki
Active Contributor
0 Kudos

Hi Mantri,

Here is a sample from : JS Bin - Collaborative JavaScript Debugging

Regards,

Sai Vellanki.

mantrishekar
Active Participant
0 Kudos

Hi Sai & Deepak,

I dont want to show the grey color part on loss type matrix on hover

former_member203031
Contributor
0 Kudos

Hi,

In CSS you can setthe background color of a button to the static.

mantrishekar
Active Participant
0 Kudos

Hi Deepak,

span#crDeterminationId-content:hover

  {

  font-weight : bolder;

  color : blue;

  font-size: 15px;

  background-color: static;

  }

As per your response i set the background color to static but it is not working

former_member203031
Contributor
0 Kudos

sorry i mean to say static in the sense like some fixed background color to the button.

mantrishekar
Active Participant
0 Kudos

No it is applying only only till the text part like for a button from starting 10 px and ending 10 px it is grey

former_member203031
Contributor
0 Kudos

I am not sure about this
The following link might be helpful:

Tryit Editor v3.0