Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes
I want to change the background to a gradient using https://cssgradient.io/, after I export it by entering the resources in in5 the result does not change, do you have any solution, thank you.
in how_to by (540 points)
  

1 Answer

0 votes

Copy and paste the following in the CSS portion of the Resources section in the export dialog to apply the gradient from your link to the background:

body, #container-wrap { background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%); }

:-webkit-full-screen { background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%); }
by (18.3k points)