Code for Background | XM Community
Solved

Code for Background

  • 10 July 2018
  • 3 replies
  • 25 views

I am having trouble getting the CSS code to work in changing my background theme. I feel there may be an issue with the code (I am very new to this)

/* Place your CSS here */


stripes : [
{
color: '#bfbac2',
rotation: 335,
opacity: 50,
mode: 'normal',
width: 3,
gap: 98,
offset: 123
},
{
color: '#bfbac2',
rotation: 25,
opacity: 50,
mode: 'normal',
width: 3,
gap: 98,
offset: 123
},
{
color: '#f37721',
rotation: 25,
opacity: 60,
mode: 'normal',
width: 100,
gap: 100,
offset: 156
},
{
color: '#ed2525',
rotation: 335,
opacity: 60,
mode: 'normal',
width: 100,
gap: 100,
offset: 156
}
],
background-color : '#008060'
icon

Best answer by mattyb513 11 July 2018, 15:15

View original

3 replies

Userlevel 6
Badge +6
This isn’t really CSS. Where did you copy this from?
I copied it from a free design website.
Userlevel 6
Badge +6
I suspect you got it from here https://info.patternizer.com/docs/

What you have is JavaScript variables ready to be input into their patternizer library.

I've answered a separate question about adding an image to your background, which could be helpful for you: https://www.qualtrics.com/community/discussion/comment/3604#Comment_3604

If you wanted to use a plain color instead, you could just replace the `url('..')` part with a hex code of a color, like `#098adf`.

Leave a Reply