Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

left: initial doesn't work in internet explorer

In IE, the tooltip is not shown like I want.

That's the correct display (chrome):

enter image description here

That's the wrong display (IE)

enter image description here

And that's my css:

.tooltipfullscreen:hover:after {
    left: initial;
    right: 0;
    transform: none;
}
like image 536
Zied CHAARI Avatar asked Nov 18 '15 14:11

Zied CHAARI


1 Answers

IE doesn't support the initial keyword, and support for it was only just added to Microsoft Edge.

There really isn't much of a point using initial with properties like left — it's pretty well-known that the initial value of those properties is auto so just hardcode that in.

like image 184
BoltClock Avatar answered Oct 21 '22 00:10

BoltClock