mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-08 20:44:43 +00:00
Give better description of IE9 transparent click bug & workaround
[skip sauce] [skip validator]
This commit is contained in:
parent
5ee0d22856
commit
fd39d91058
1 changed files with 3 additions and 3 deletions
|
|
@ -178,9 +178,9 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
// IE9 hack for event handling
|
// IE9 hack for event handling
|
||||||
//
|
//
|
||||||
// Internet Explorer 9 does not support clicks on elements without a set
|
// Internet Explorer 9 does not properly handle clicks on elements with a `background-color` of `transparent`,
|
||||||
// `background-color`. We cannot use `filter` since that's not viewed as a
|
// so we use rgba(0,0,0,0) instead since it's a non-buggy equivalent.
|
||||||
// background color by the browser. Thus, a hack is needed.
|
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer
|
||||||
background-color: rgba(0,0,0,0); // IE9
|
background-color: rgba(0,0,0,0); // IE9
|
||||||
border: 1px solid $carousel-indicator-border-color;
|
border: 1px solid $carousel-indicator-border-color;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue