Line 208: | Line 208: | ||
margin:0; | margin:0; | ||
padding: 0; | padding: 0; | ||
+ | } | ||
+ | h1:target { | ||
+ | animation: highlight 1s ease; | ||
+ | } | ||
+ | |||
+ | h2:target { | ||
+ | animation: highlight 1s ease; | ||
+ | } | ||
+ | |||
+ | h3:target { | ||
+ | animation: highlight 1s ease; | ||
+ | } | ||
+ | |||
+ | @keyframes highlight { | ||
+ | from { background: rgba(20, 147, 117, 0.5); } | ||
+ | to { background: white; } | ||
} | } | ||
Revision as of 12:38, 20 September 2017