background 100 vw and vh
This commit is contained in:
parent
3acb9f442c
commit
cd22739e4a
@ -163,9 +163,9 @@ function bang() {
|
|||||||
"id": "background",
|
"id": "background",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"width": "1133px",//viewport width of iPad mini; iphone 8: 400px; iPhone 5: 320px
|
"width": "100vw",//viewport width of iPad mini: 1133px; iphone 8: 400px; iPhone 5: 320px
|
||||||
"height": "744px",//viewport height of iPad mini; iphone 8: 667px; iPhone 5: 568px
|
"height": "100vh",//viewport height of iPad mini: 744px; iphone 8: 667px; iPhone 5: 568px
|
||||||
"fill": background,
|
"fill": background
|
||||||
});
|
});
|
||||||
|
|
||||||
//elements = [];
|
//elements = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user