make focused element visible

This commit is contained in:
Rhiannon Morris 2020-08-03 23:06:19 +02:00
parent c2a0ca6680
commit 1b7f8e9af3
5 changed files with 34 additions and 3 deletions

View file

@ -19,6 +19,10 @@ body {
background: hsl(340, 45%, 65%);
}
#mainfig:focus-within {
box-shadow: var(--focus-box);
}
#mainimg {
display: block;
}