Activity › Forums › Friendster CSS › Styling is Fun but Tricky
-
AuthorPosts
-
-
December 21, 2021 at 3:55 am #1229
I am doing a retro style 😂 It is still a work in progress. How is it so far?
Whenever I use background images, the css adds quotations to the url after saving. This works as long as there are no quotes when i save. upon saving with quotations, the background url inside the quotations gets filtered out, so i need to delete quotations around each and every image I used as a background so that it will save properly.
Cannot use media queries
Cannot use pseudo modifiers like ::before, ::after etc
Cannot use linear gradients
the child combinator selector(>) will not fly
Styling a label element seems to be getting filtered out. I cannot make styles for the label that has the text “Show” in it
Most of it seems reasonable, but background image urls disappearing due to quotes feels like an issue
-
December 22, 2021 at 1:03 am #1232
Hi thanks for the heads up! So we’re using HTMLPurifier to filter the CSS input for safety reasons but it seemed to filter more than what intended. I lifted some of the restrictions so the stuff you mentioned above should be working alright now, if you still find some issues with the CSS input/filter please lemme know 😆
-
-
AuthorPosts
You must be logged in to reply to this topic.