Dan Q (scatmania) wrote,
Dan Q
scatmania

The Fourth Way to Inject CSS

Last week, Jeremy Keith wrote an excellent summary of the three ways to inject CSS into a web document. In short, he said:



There are three ways—that I know of—to associate styles with markup.

External CSS
<link rel="stylesheet" href="/path/to/styles.css">
Embedded CSS

https://danq.me/2020/12/21/http-link-css-injection/
Tags: css, web, web development
Subscribe

  • Get Lost on the Web

    Get lost I got lost on the Web this week, but it was harder than I'd have liked. There was a discussion this week in the Abnib WhatsApp group…

  • Higher/Lower Datepicker

    I've written before about the trend in web development to take what the web gives you for free, throw it away, and then rebuild it in Javascript. The…

  • Axe Feather 2021

    tl;dr? I recreated a 16-year old interactive ad. Experience it here. Get the source code here. Or keep reading for the full story. What? Back in…

Comments for this post were disabled by the author