[personal profile] stormy posting in [community profile] style_system
I'm working on a small side project and I could use some help. I want to style an entry based on the tags contained in that entry. I know it is not possible to style a parent element in css using the contents in a child element, so I'm looking for a way to print the tags as additional classes in .entry or .entry-wrapper. Currently using Tabula Rasa Plain. Any suggestions?

For example, say the tags currently in entry-wrapper are:
entry-wrapper entry-wrapper-odd security-public journal-type-P poster-name journal-name

I'd like to add something along these lines when it is printed.
tag-subject tag-subject2 tag-subject3

Profile

Dreamwidth style system discussion

October 2025

S M T W T F S
   1 234
567891011
12131415161718
19202122232425
262728293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 28th, 2025 10:49 pm
Powered by Dreamwidth Studios