-
|
i try to convert a little perso userstyle to an UserCSS userstyle where everybody can use it by adding their personal usernames: I try to use 3 different username (that's Flickr...): But if i saw the options, and can add my own infos for each, Here my not working test (Shorten): |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
You need to actually use your variables in the code. Without |
Beta Was this translation helpful? Give feedback.
-
|
Thanks! by example: By: I tested that and it don't work :-( My Last test: And i applie your reply solution as i write before: Notes: I have read the "How to write UserCSS": Maybe more examples template (with screenshot of the results in UI) ? |
Beta Was this translation helpful? Give feedback.
-
|
Finlay i got it ! Now i need to find a tutorial about how to use the of "if" and how to code with it... |
Beta Was this translation helpful? Give feedback.
You need to actually use your variables in the code. Without
@preprocessorthe format is standard CSS variable like--User1, with@preprocessor usoit's/*[[User1]]*/, see https://github.com/openstyles/stylus/wiki/Writing-UserCSS#preprocessor