CSS Tip! β¨
You can create icon sprite animations using the steps() animation-timing function π€
You could use this to create little icon button animations, etc. π
But how do you do it? Like this π
button img {
object-fit: cover;
object-position: 0 0;
}
The image is a sprite strip of the frames in the animation. To animate the frames, you do something like this:
[aria-pressed=true] img {
animation: play 0.5s steps(20) forwards;
}
@ keyframes play {
to {
object-position: 100% 0;
}
}
We are toggling aria-pressed in our scripts to show a pressed state and we can then fire the animation to play our sprite π
Check out the video that breaks things down a little bit
@CodePen link blow! π
@dmikeyanderson Non-android limits a bit since most of the higher end ones have Android (eg. Retroid 5). But if you're going Linux-only, I have tried the RG556 for a while and it's smooth with GC too (Linux/Android dual boot) though you need a community joystick firmware to fix stock's issues
@GliscorTV @zala_ze I sent my new 3ds xl in for installation by them, arriving to them mid-May, and judging from the forums wait time is anywhere from 1-2months under the current volume they're receiving. Could also buy the mod itself and install yourself
@GliscorTV @zala_ze Yea, the free cfw option is low fps with significantly low fps for the secondary screen. ArticBase is the new option, where it streams the game chunks to a desktop emulator and it runs at great speed but with notably long delays between levels/maps. Also only work with 3DS games
@RetroGameCorps Seriously tempted, and maybe someday, but ended up going with RG556 over Tiktok shop with their crazy coupons, for $130. That said, damn the RP4 Pro has some gorgeous-looking controls!
@joshkeaton@plex Heard good things about Jellyfin and Emby but haven't swapped yet. All the newly-broken metadata on my Plex certainly is tempting me to switch though