How do I customize the css of the background

Get help using Construct 2

Post » Wed Jun 21, 2017 3:28 pm

Hi!

Is there a way to edit the css code for the background of the body in c2?
At the moment I always need to adjust it afer export (index.html file).

Code: Select all
    <!-- All margins and padding must be zero for the canvas to fill the screen. -->
   <style type="text/css">
      * {
         padding: 0;
         margin: 0;
      }
      html, body {
         background: #000;
         color: #fff;
         overflow: hidden;
         touch-action: none;
         -ms-touch-action: none;
      }
      canvas {
         touch-action-delay: none;
         touch-action: none;
         -ms-touch-action: none;
      }
    </style>
Image Image iTunes: Match3 | Google Play: Match3
B
100
S
35
G
30
Posts: 1,137
Reputation: 28,087

Post » Wed Jun 21, 2017 5:59 pm

B
66
S
24
G
7
Posts: 1,515
Reputation: 11,041


Return to How do I....?

Who is online

Users browsing this forum: 25games, jatin1726, kiki4construct, Username05 and 32 guests