Date: 2025-08-09 04:05 pm (UTC)
merest: a stark black and white skull. (Default)
From: [personal profile] merest
I just finished a massive page designed to help me look through and organize the cut content, roughs, and drafts of my fanfiction. I had found a trick to implement CSS-only hover text, and I spent an inordinate amount of time working my authors notes into that. data-title is such a cool and insane element to have.

If you're interested, I'm basically using method #2 from this article:

https://dev.to/koustav/3-ways-to-display-content-on-hovering-over-an-element-using-only-css-3d4m

but with the #id replaced with span[id^="myid"] which lets me style every unique id with one block of code, just so long as I make sure to include "myid" at the start of its name.

Adding white-space: pre-line;

and

word-wrap: break-word;

lets me input line and paragraph breaks using the symbol, since data-title text doesn't allow for the usual html tags.



I think my next project is going to be adding some content I have floating around in my personal notes, but not uploaded. After that, I sort of flip-flop between creating new webpages, and adding content to what I've already uploaded, but failed to flesh out.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

smallweb: A drawing of a small spiderweb between branches (Default)
All Things Small Web

October 2025

S M T W T F S
    1234
56 78910 11
12131415161718
19202122232425
26 2728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 26th, 2025 08:07 pm
Powered by Dreamwidth Studios