[ARCHIVED] Is there also a CSS whitelist?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2020
08:46 AM
I have a div creating a box around some content on a page:
<div style="margin: 0.5em; padding: 1em; border: 1px solid lightgray;">
I'm attempting to add a shadow to the div using inline CSS:
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
When I preview it in the editor, the shadow appears.
When I save the page, the shadow disappears, along with the inline CSS box-shadow statement.
Is there a CSS whitelist?
Solved! Go to Solution.