Created
October 22, 2015 11:00
-
-
Save srinathweb/ec6d37c41ad74885baab to your computer and use it in GitHub Desktop.
recover position fixed width issue opera
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .menufixed{ | |
| position: fixed; | |
| top: 0; | |
| z-index: 999; | |
| margin: 0 auto; | |
| width: 100%; | |
| background: #fff; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| -ms-transform: translateX(-50%); | |
| -webkit-transform: translateX(-50%); | |
| -moz-transform: translateX(-50%); | |
| -o-transform: translateX(-50%); | |
| transform: translateX(-50%); | |
| -webkit-transform: translateX(-50%) !important; | |
| -webkit-transform:translateX(-50%) !important; | |
| -webkit-transform: translateZ(0); | |
| transition: width 0.2s; | |
| -webkit-appearance: none; /* Autoprefixer doesn't catch this */ | |
| transition: height 0.4s ease; | |
| transition-delay:2s !important; | |
| -webkit-transition-delay:2s !important; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment