Cxb168 Posted March 15, 2020 Share Posted March 15, 2020 Hi everyone~ I just started PIXI. Why is there a few pixels of white border on the left and top of the screen? How to remove it? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 15, 2020 Share Posted March 15, 2020 Hello and welcome to the forums! Its not a pixi problem, its a CSS-canvas . just set padding and margin of body to 0 Cxb168 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 15, 2020 Share Posted March 15, 2020 Overflow:hidden is also a frequent guest there: https://github.com/ivanpopelyshev/pixi-starfighter/blob/master/css/index.css Cxb168 1 Quote Link to comment Share on other sites More sharing options...
Cxb168 Posted March 16, 2020 Author Share Posted March 16, 2020 18 hours ago, ivan.popelyshev said: Overflow:hidden is also a frequent guest there: https://github.com/ivanpopelyshev/pixi-starfighter/blob/master/css/index.css Thanks, problem solved. ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.