sᴛᴏʀᴍʏ (
stormy) wrote in
style_system2015-09-29 11:24 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Entry tags:
Adding tags to .entry or .entry-wrapper.
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:
I'd like to add something along these lines when it is printed.
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