mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 09:41:47 +02:00
feat: Add "is-pixelated" class for avatars with styles for all browsers
This commit is contained in:
@@ -7,6 +7,13 @@
|
||||
&.is-rounded {
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
&.is-pixelated {
|
||||
-ms-interpolation-mode: nearest-neighbor;
|
||||
image-rendering: -webkit-optimize-contrast;
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
}
|
||||
.nes-avatar {
|
||||
@include img-style(2px);
|
||||
|
Reference in New Issue
Block a user