mirror of
https://github.com/est31/leaftest.git
synced 2024-11-14 22:50:28 +01:00
Support more browsers for pixelated zoom in effect
This commit is contained in:
parent
46d99bd323
commit
881c0c6253
|
@ -2,15 +2,19 @@
|
|||
width: 98%;
|
||||
height: 98%;
|
||||
margin: 1% 1% 1% 1%;
|
||||
image-rendering: -moz-crisp-edges; /* firefox */
|
||||
image-rendering: pixelated; /* hopefully everyone eventually */
|
||||
image-rendering: -moz-crisp-edges; /* Firefox */
|
||||
image-rendering: -webkit-crisp-edges; /* Safari */
|
||||
image-rendering: pixelated; /* Chromium */
|
||||
-ms-interpolation-mode: nearest-neighbor; /* iexplore.exe (but not edge) */
|
||||
}
|
||||
|
||||
#map {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
image-rendering: -moz-crisp-edges; /* firefox */
|
||||
image-rendering: pixelated; /* hopefully everyone eventually */
|
||||
image-rendering: -moz-crisp-edges; /* Firefox */
|
||||
image-rendering: -webkit-crisp-edges; /* Safari */
|
||||
image-rendering: pixelated; /* Chromium */
|
||||
-ms-interpolation-mode: nearest-neighbor; /* iexplore.exe (but not edge) */
|
||||
}
|
||||
|
||||
#info {
|
||||
|
@ -21,4 +25,4 @@
|
|||
padding:10px;
|
||||
z-index:100;
|
||||
border-radius:3px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user