I
I
Ivan Polikarpov2015-04-24 17:03:15
css
Ivan Polikarpov, 2015-04-24 17:03:15

How to fix opacity and links bug in firefox? And is it a bug?

Faced strange behavior of opacity in FF.
There is a table, rows in the table. Part of rows with class not-available

table tr.not-available {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}

Row cells have icon links.
It looks like this:
7ffa81f3fed74806a7039fef018450d3.png
So, in translucent rows in FF, these links are not clickable and the cursor does not change on hover. Everything is fine in Safari.
Has anyone come across?
PS Cross-browser compatibility is not super-relevant, tk. this is the internal admin panel of one of my projects, but I'm used to working with it in FF, and here is such a setup.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Abdullaev, 2015-04-24
@taboo1387

opacity less than 1 is perceived as z-index: 0. Your links are below the rest of the content

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question