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
112
S
42
G
31
Posts: 1,188
Reputation: 29,737

Post » Wed Jun 21, 2017 5:59 pm

B
67
S
24
G
7
Posts: 1,519
Reputation: 11,084


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 23 guests