From 8c34d810af95fae0ef846f54370a8c88bfab7123 Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Sat, 11 Apr 2026 14:24:49 -0700 Subject: initial commit --- remarks/WR-023.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 remarks/WR-023.txt (limited to 'remarks/WR-023.txt') diff --git a/remarks/WR-023.txt b/remarks/WR-023.txt new file mode 100644 index 0000000..bf442e3 --- /dev/null +++ b/remarks/WR-023.txt @@ -0,0 +1,27 @@ + + + + + + + +Document: WR-023 P. Webb + 2026.03.25 + + How to target Safari with CSS in 2026 + +Body + + I was trying to figure this out to make this blog look decent on iOS. + Thanks to Wojtek[1] for the solution! + ```css + @supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) { + .safari-only { + background-color: red; + } + } + ``` + +References + + [1] -- cgit v1.2.3