Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

CSS linear-gradient getting removed Edited

For some reason, Confluence isn't letting me add a linear-gradient background CSS.

Steps to reproduce:

  • Create a Confluence page
  • Edit the page, go to the Source Editor, and enter "<div style="width: 100.0px;height: 100.0px; background: linear-gradient(90deg, rgba(17,199,208,1) 0%, rgba(17,199,208,1) 11%, rgba(255,255,255,1) 11%, rgba(255,255,255,1) 100%);">Test</div>"
  • Click Apply, and the gradient will appear in the preview window.
  • If you now Save, Preview, or re-open the Source Editor, the CSS for the linear-gradient will be gone. It just completely disappears, and seems to be replaced with "<div style="width: 100.0px;height: 100.0px;">Test</div>".

Any guidance on what's going on here would be greatly appreciated -- I have no idea what's going on. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

175 views 6 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you