Skip to content

Instantly share code, notes, and snippets.


Kathleen McMahon resource11

View GitHub Profile
resource11 / Accessible-smooth-scrolling
Last active July 17, 2020 12:52
A CSS snippet for leveraging a smooth scroll behavior in an accessible manner
View Accessible-smooth-scrolling
/* Smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
:root {
scroll-behavior: smooth;
resource11 / autolink-headers-in-gatsby-mdx-files
Last active January 26, 2020 00:37
gatsby-config.js settings to generate autolinked headers in MDX files
View autolink-headers-in-gatsby-mdx-files