r/reddithax • • Feb 20 '14

How to make specific usernames have custom CSS?

Pretty self-explanatory, I just need to know how I can make a specific user's name be in a different font, color, etc.

5 Upvotes

6 comments sorted by

4

u/gavin19 Feb 20 '14
.author[href$="/Aqubium"] { ... }

/r/csshelp

1

u/[deleted] Mar 11 '14

The problem with this is CSS can't navigate up to parent elements.

1

u/gavin19 Mar 11 '14

The problem with CSS is that it can't navigate up to parent elements.

1

u/[deleted] Mar 11 '14

Why did you reword my reply?

1

u/gavin19 Mar 11 '14

You said

the problem with this

There is no problem with the CSS that was posted. The fact that CSS can't be applied to antecedents isn't specific to this query. It's a shortcoming of CSS in general.

1

u/[deleted] Mar 12 '14

What I meant was that the problem with the answer was that CSS was incapable of styling anything besides the username and things near it or children of those cannot be styled. That is the problem. The CSS is sound and valid, but for those looking to style the body of a reply... Nah.