Daily Shaarli
September 18, 2022
Je pose cela là pour de futurs partages
because it is faster than a static website... because everything is in the RAM.
Headings are not focusable because they are not interactive, as long as the headings are not links… ;)
Here an example of how to make focused element transition on focus:
section:focus {
outline: 0;
animation: yellowFade 3s forwards;
}
@keyframes yellowFade {
from { background: lightYellow; }
to { background: white; }
}