Re:Imagining CSS for URLs and HTTP Headers
by superkuh on Monday November 28, 2022 @01:11PM
(#33777167)
You can specify HTTP headers for a path/location in nginx in a static website and have it include arbitrary headers. Most standards respecting browsers (like Firefox) accept HTTP header specified CSS like,
This works to set CSS atributes only for a specific URL on my static websites using .html files. For nginx. But nginx is a very common and secure choice for static sites and available in everyone's repos. And you can probably add arbitrary headers per path with other static webservers configs too.
[ Parent
| on HN ]
There are no comments on this comment yet.