1
0
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:
besasam
2021-01-25 10:34:23 +01:00
parent 1e3e7996c5
commit 71974a186c
3 changed files with 19 additions and 11 deletions

View File

@@ -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);