Engaging Focus Rings

Nice little demo by Adam Argyle in which he makes the focus ring pop by changing its outline-offset (with a transition) on focus.

The code also correctly respects the user’s prefers-reduced-motion preference.


This content originally appeared on Bram.us and was authored by Bramus!

Nice little demo by Adam Argyle in which he makes the focus ring pop by changing its outline-offset (with a transition) on focus.

The code also correctly respects the user’s prefers-reduced-motion preference.


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2021-06-04T20:26:17+00:00) Engaging Focus Rings. Retrieved from https://www.scien.cx/2021/06/04/engaging-focus-rings/

MLA
" » Engaging Focus Rings." Bramus! | Sciencx - Friday June 4, 2021, https://www.scien.cx/2021/06/04/engaging-focus-rings/
HARVARD
Bramus! | Sciencx Friday June 4, 2021 » Engaging Focus Rings., viewed ,<https://www.scien.cx/2021/06/04/engaging-focus-rings/>
VANCOUVER
Bramus! | Sciencx - » Engaging Focus Rings. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/04/engaging-focus-rings/
CHICAGO
" » Engaging Focus Rings." Bramus! | Sciencx - Accessed . https://www.scien.cx/2021/06/04/engaging-focus-rings/
IEEE
" » Engaging Focus Rings." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/06/04/engaging-focus-rings/. [Accessed: ]
rf:citation
» Engaging Focus Rings | Bramus! | Sciencx | https://www.scien.cx/2021/06/04/engaging-focus-rings/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.