This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Oskar Sundberg
Posted Jan 04 - Read on Facebook

This used to work in the previous version:

resultsText = new Layer
backgroundColor: "none"

Previously it removed the background and now gives me a solid black background instead of the default transparent blue. The alternative version:

resultsText = new Layer
style:
"background": "none"

Works fine, however.

5 Comments

Andrew Nalband

You can use false or "" in the place of "none"

Daniel Kamphorst

You can also use "transparent".

Daniel Kamphorst

Or null.

Marc Krenn

Jonas, I've noticed some small inconsistencies when it comes to transparent Colors but I'm not sure if they're intentional or not:

http://share.framerjs.com/zez34jsxxq88/

Jonas Treub

CSS invalid color strings default to transparent. In Framer we now default to black. Since we try to conform to CSS I'll change this. Thanks for your feedback!

Read the entire post on Facebook