[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

September 2025

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
282930    

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 9th, 2025 09:47 am
Powered by Dreamwidth Studios