From 4340d2534111975fa563878dee9b3f03b995add5 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 18 Dec 2019 23:06:08 -0500 Subject: Use :target rather than :focus pseudo-class :target persists after you click on something else. --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/hi.c b/bin/hi.c index 4021d1bc..2fc05a93 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -549,7 +549,7 @@ static void htmlHeader(const char *opts[]) { printf(".hi.%s { %s }\n", ClassName[class], HTMLStyle[class]); } printf( - ".hi.%s:focus { color: goldenrod; outline: none; }\n", + ".hi.%s:target { color: goldenrod; outline: none; }\n", ClassName[Tag] ); printf("\n"); -- cgit 1.4.1