Skip to content

Dan Q

    • Articles
    • Everything
    • Notes
    • Reposts (shares)
    • Checkins (geo*)
    • Videos
    • Reviews
    • Comics
    • Tags
    • Stats
    • Subscribe
    • Blogroll
  • About
    • Semi-standard "slash pages" you might like to explore:
    • /about
    • /blank
    • /blogroll
    • /colophon
    • /contact
    • /cv
    • /domains
    • /events
    • /license
    • /pfp
    • /postcards
    • /privacy
    • /salary
    • /shh
    • /slashes
    • /stats
    • /subscribe
    • /where
    • Hide posts of type:
    • Choose how Dan's dressed:
    • Hair
    • T-Shirt
  • Contact
  • Podcast
  • Things

Tag: css

  • Bash shell running the command "curl -i https://hell.meiert.org/core/php/link.php". The response includes a HTTP Link: header referencing a CSS stylesheet; this is highlighted.

    The Fourth Way to Inject CSS

    Dan explains why using Link: HTTP headers for stylesheets should be considered a distinct way of loading CSS (that you can't use).

    Read more - about 4 minutes (715 words)

    • Article
    • 3 comments
    • posted 21 December, 2020
  • CSS Logical Properties

    Andy Bell recommends use of CSS logical properties to help lay out and space content in a language-independent way.

    Read more (159 words)

    • Repost
    • posted 16 September, 2020
  • The Web Pyramid. In the style of a "food pyramid", shows Text Worth Reading at the bottom, supporting Markup, supporting Images, supporting CSS, supporting (a small amount of) Scripts.

    Loading CSS Asynchronously Without JS Dependency

    Dan proposes a new technique for lazy-loading CSS which doesn't break style for non-JS users.

    Read more - about 3 minutes (665 words)

    • Article
    • 22 comments
    • posted 9 August, 2020
  • Image representing post: Old CSS, new CSS

    Old CSS, new CSS

    eevee describes their experience of the early-CSS and pre-CSS Web, and Dan echoes a familiarity with the topics covered.

    Read more (347 words)

    • Repost
    • posted 26 February, 2020
  • CSS4 is here!

    Peter-Paul Koch of QuirksMode proposes that CSS4 should be declared a "thing", for marketing reasons, and Dan agrees.

    Read more - about 3 minutes (549 words)

    • Repost
    • 7 comments
    • posted 23 January, 2020
  • Annabel explores the Talking Maps digital interactives.

    Using the Web for Exhibition Interactives

    As he writes up notes for his successor, Dan explains how the Bodleian's interactive digital signage uses the power of the Web.

    Read more - about 7 minutes (1480 words)

    • Article
    • 3 comments
    • posted 20 September, 2019
  • The Real Dark Web

    An analogy between dark matter and the huge crowd of web developers who are using such "boring" technology stacks.

    Read more (418 words)

    • Repost
    • posted 29 August, 2019
  • Image representing post: Reply to: A modern font loading strategy with the vanilla JS FontFaceSet.load() method

    Reply to: A modern font loading strategy with the vanilla JS FontFaceSet.load() method

    Chris Ferdinandi's suggestion of using FontFaceSet.load() to prevent FOIT seems overkill. What's wrong with font-display: swap;?

    Read more - about 4 minutes (760 words)

    • Reply
    • 1 comment
    • posted 22 June, 2019
  • Image representing post: Reducing motion with the picture element

    Reducing motion with the picture element

    A simple, elegant way to use an inline CSS media query to provide "prefers-reduced-motion" support on animated content.

    Read more (182 words)

    • Repost
    • posted 7 June, 2019
  • Image representing post: css-only-chat/README.md at master Β· kkuchta/css-only-chat Β· GitHub

    css-only-chat/README.md at master Β· kkuchta/css-only-chat Β· GitHub

    Of all the things I've seen hacked-together with just HTML and CSS on the client-side, I never thought I'd I'd see a "push"-capable live chat app...

    Read more - about 4 minutes (801 words)

    • Repost
    • posted 16 May, 2019
  • An insertion and a deletion on a 2007 blog post announcing Troma Night plans.

    Blogging with semantic insertions and deletions

    Adapting your CSS can make semantically-enhanced / modifications to a blog post clearer to readers.

    Read more - about 4 minutes (779 words)

    • Article
    • 1 comment
    • posted 3 May, 2019
  • Image representing post: Modern CSS on DanQ.me

    Modern CSS on DanQ.me

    Dan explains three of the cutting-edge CSS features implemented on his blog.

    Read more - about 6 minutes (1310 words)

    • Article
    • 2 comments
    • posted 5 March, 2019
  • Facebook console messaging advising against the use of the console.

    CSS-driven console graphics

    There's an Easter egg in danq.me which you can see in your browser's debug console.

    Read more - about 4 minutes (721 words)

    • Article
    • 3 comments
    • posted 16 January, 2019
  • Making single color SVG icons work in dark mode

    In a project I work on, we had a couple of buttons that consisted of just icons (with visually hidden help text). The awesome QA engineer I worked with, found some of those did not show up in dark mode, which rendered the buttons unusable for users of that mode. Using inline SVGs with currentColor …

    Read more (138 words)

    • Repost
    • posted 29 December, 2018
  • When to use CSS vs. JavaScript


    CSS before JS #
    My general rule of thumb is…
    If something I want to do with JavaScript can be done with CSS instead, use CSS.
    CSS parses and renders faster.

    For things like animations, it more easily hooks into the browser’s refresh rate cycle to provide silky smooth animations (this can be done in …

    Read more (370 words)

    • Repost
    • 1 comment
    • posted 23 November, 2018

Posts navigation

Older posts
Newer posts

Get in Touch

I'd love to hear from you! Why not...

  • email me on blog@danq.me?
    (my spam filter is aggressive, so use a good subject line, i.e. not just "hello"; encrypt your email if you like)
  • say hi on Mastodon, where I'm @dan@danq.me?
  • send a letter or postcard to
    Dan Q, Unit 159610, PO Box 7169, Poole, BH15 9EL, UK
  • reach out some other way?
  • Β© Dan Q 1998-2026
  • Creative CommonsAttributionNon-Commercial except where stated (how to use)
  • powered by BloqClassicPressHTML5CSS3
  • privacy
  • Read articles, checkins, notes, reposts, and more...
  • @dan@danq.me
  • contact
  • subscribe
  • Dan Q
  • Creative Commons Attribution Non-Commercial license
  • ClassicPress
  • CSS is awesome
  • Created by a human, not by AI
  • LGBTQ+ pride flag (2018 progress variant)
  • Polyamory flag
  • Say no to Web3
  • Mastodon (it's like email... no, come back!)
  • Tested on Firefox
  • Best viewed on the Internet
  • PHP
  • Ruby
  • Debian
  • Caddy (webserver)
  • Find me on Melonland
  • Check out my GitHub
  • Three Rings - by volunteers, for volunteers, since 2002
  • I'm a fucking webmaster
  • Looks best at: any resolution!
  • Visit Razby Web NOW!!! :]
  • Read Stacks!
  • VISIT BUGHOLDER'S EPIPHANY TODAY
  • PHOTON STREAM - tokusatsu shrine and series guide
  • Kreepy Key's Halloween Horrotorium - Your source for Spoopy Season fun!
β„Ή