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

  • A selection of pride flags adapted so that instead of horizontal bars they feature radial bars, in the style of the flag of Seychelles.

    Queerly Seychellized

    I saw a toot which observed that many 'bar flags' look better 'Seychelles-style', with a radial burst of their bar colours emanating from the lower-left corner... so I came up with some CSS to make it easier to model flags this way, and used it to adapt a selection of pride flags.

    Read more - about 4 minutes (900 words)

    • Article
    • 6 comments
    • posted 21 November, 2026
  • Dan Q's Things filtered to show healthy (confirmed-working) puzzle games implemented in JavaScript.

    "Things" is a thing that showcases my things.

    This week I relaunched my static site, Dan Q's Things, that catalogues my various Web projects. I'm pretty pleased with the new version! Let me tell you about why...

    Read more - about 3 minutes (636 words)

    • Article
    • posted 11 November, 2026
  • Framegrab from a video with Dan talking about a website.

    "Things" is a thing that showcases my things. [Video]

    A video tour of my favourite five features of the Dan Q's Things website I just re-launched, because I'm moderately proud of it.

    Read more (47 words)

    • Video
    • posted 11 November, 2026
  • Cards showing relative statistics about different animals, alongside HTML controls for sorting them.

    Dynamic Sorting in Pure CSS

    Did you know that you can make a list of items "sortable" client-side with just one selector and one property of CSS per sort-criteria, and have a fully-fledged ordering system without an iota of JavaScript? Let me show you how!

    Read more - about 3 minutes (558 words)

    • Article
    • posted 6 November, 2026
  • Colour wheel diagram showing the transformation from a light blue into a medium purple.

    Styling :visited links using hue-rotation

    My new site theme offers a :visited link style, but for convenience it's based on a CSS hsl-transformation. Here's how it works...

    Read more (223 words)

    • Article
    • 3 comments
    • posted 26 September, 2026
  • Here's a neat trick. I've got a web page with many HTML popovers, styled as modals to create a no-JS gallery/lightbox. But LCP suffers because the browser tries to reserve space for the images within (even though they're within not-yet-shown popovers).

    This CSS one-liner saved the day. It basically says "skip over not-yet open popovers on initial page render" -

    [popover]:not(:popover-open) {
      content-visibility: hidden;
    }

    I appreciate that Lighthouse isn't the last word in performance metrics, of course. But this change alone bumped an affected page's score from 76 to 100, so it's not nothing either!

    • Note
    • posted 25 September, 2026
  • An email in Outlook 365, showing 'DanQ.me' in gold-gradient WordArt with a drop shadow.

    WordArt is still supported... in Microsoft Outlook!

    25 years ago, WordArt was everywhere. Nowadays, it's been quietly expunged from Microsoft Office. Except... Outlook, via a series of complicated hacks, can still render WordArt to this day! And I'm pretty curious exactly how it does so...

    Read more - about 5 minutes (996 words)

    • Article
    • 2 comments
    • posted 16 September, 2026
  • Computer manual cover printed in blue, black, and white. The title 'GoScript Plus' is askew at one angle, and everything else is askew at a right angle to that.

    Recreating a 1990 Book Cover (in HTML + CSS)

    This weekend, I became briefly obsessed with the graphic design of the cover of a manual of a piece of software released in 1990. So I re-created it in HTML + CSS, as you do.

    Read more - about 3 minutes (567 words)

    • Article
    • 23 comments
    • posted 13 July, 2026
  • Setting the width of selects to the width of the selected option

    Sometimes a new CSS feature comes along and I immediately "get it". Like: that's a cool new feature, I can already see how it'll save me time, or make things simpler, or improve accessibility, or allow me to do something new. Other times...

    Read more (122 words)

    • Repost
    • of this original
    • posted 22 June, 2026
  • Screenshot showing VSCode running in a web browser, being used to edit a static HTML website.

    A Selfhosted Static Site Editor

    Inspired by the way that Nekoweb's editor 'Nekode' works, I came up with a low-effort way to let my eldest get started with HTML and CSS editing, right from her browser, with the results selfhosted directly from the household NAS.

    Read more - about 3 minutes (535 words)

    • Article
    • 8 comments
    • posted 22 May, 2026
  • CSS or BS game in progress. The player is asked to declare whether 'view-timeline-name' is a real CSS property or made-up.

    CSS or BS

    Keith Cirkel's made a game where you have to identify if something is a CSS property or a convincing fake. How's your CSS knowledge?

    Read more (85 words)

    • Repost
    • of this original
    • posted 14 May, 2026
  • Reply to: let's write a blog post about CSS

    Dave's struggling to finish his blog post out CSS. I get the feeling... let me tell you about my blog post about pedestrian crossings.

    Read more (98 words)

    • Reply
    • 1 comment
    • posted 29 April, 2026
  • Illustration showing 'slow content' going to FreshRSS, 'immediate content' going to email, Slack, and WhatsApp, and 'fast content' being eligible to be routed to either destination.

    Reducing Phantom Obligation in FreshRSS

    Terry Godier's fantastic article last week introduced us to the term 'phantom obligation' and reiterated something I've been saying for years: that 'RSS zero', unlike 'inbox zero', is not an admirable goal. And that reminded me to share with you how I personally make my FreshRSS installation feel more like a tool that serves me, not the other way around.

    Read more - about 5 minutes (1014 words)

    • Article
    • 14 comments
    • posted 6 February, 2026
  • Death to the shadow DOM!

    I usually agree with Chris Ferdinandi, but he and I aren't entirely in accord about the Shadow DOM. He thinks it's useless. But I think it's MOSTLY useless.

    Read more (321 words)

    • Repost
    • of this original
    • posted 23 December, 2025
  • Screenshot from a future version of the DanQ.me homepage, showing a cartoon drawing of Dan waving, alongside a drop-down menu with options to customise his hair and t-shirt colour.

    For anyone who :has :not yet seen the magic of modern CSS

    CSS is all grown-up, and the combination of nested selectors, variables, :not, and :has unlocks a wealth of potential for interactivity and customisation without resorting to (the slower and brittler approach of) JavaScript. Let me show you two examples from my recent editor history.

    Read more - about 3 minutes (684 words)

    • Article
    • 1 comment
    • posted 17 December, 2025

Posts navigation

Older 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!
  • Skeletons Galore
  • Beelzebabe first banner - pixel art and esoteric information
  • EGXChange - as stupid as crypto but better for Earth
  • Read Stacks!
  • COME REST IN THE LIVING ROOM!
โ„น