From 8995b0b12023247581522fd57d860fde8a7eefa6 Mon Sep 17 00:00:00 2001 From: "C. 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 de9111a6..42f34677 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