Jfer00
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by Jfer00
-
-
Hi,
I have a custom html list whose items I try to show in three columns with flexbox. List items have padding to add room for item background.
li { flex: 0 0 calc(33% - 66px); padding: 0 16px 0 50px; background: url('check.png') no-repeat left top; }
The problem is that squarespace has some kind of preprocessor which converts calc() to this: (style copied from browsers inspector)
flex: 0 0 calc(-33%);
How should I write calc() to keep it in the desired format?
How to make CSS calc() function work on Custom CSS editor?
in Customize with code
Posted
Thanks tuanphan, it works as there is no preprocessor for code blocks. 🙂
I just would prefer to put all custom code to the same place but if it's not possible I just have to use code blocks.