How to make the size of the browser be adjusted with device-width and ignore some sprites

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

I found that the browser size will be keep changing when some sprites is going outside of the border, but i want the size just be adjusted to fit the size of the border, what should i do?

e.g.
when a sprite is walking to left, the width will be keep increasing, but i want it remains unchange

I’ve also tried using maximum-scale=1 but failed

The code i use:

<meta name=”viewport” content=”width=device-width, user-scramble=no”>

‫أضف إجابة

تصفح
تصفح

مجهول يجيب