SOLVED: Same code working with another builder but Bricks

Hi!

I have a code to make vertical lines for website background.

The same code I use on Zion Builder and it worked but not working with Bricks.

    html {
      background: linear-gradient(90deg, #ffffff calc(100% - 1px), #f5f5f5 0);
      background-size: calc((100% - 6*1px)/7 + 1px) 100%;
    }

Am I missing something here?

Update: I got it worked now by choosing a background color and set transparent in the theme style. So, that means there is a default background color even if I didn’t set any background color in my theme style setting.

Hi Jornes,

the html doesn’t have a default background color, but the body tag has (rgb(255, 255, 255)).
That’s probably why your styles on the html tag aren’t showing.

Best regards,
timmse

Hi @timmse ,

Yes. I thought that too. So, I have to choose a color and set it to transparent in order to see the lines.