-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
24 lines (21 loc) · 1.01 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#main-container {
width: 100%; /* Full width of the screen or a fixed width */
height: 100%; /* Full height of the screen or a fixed height */
position: relative; /* If needed for positioning child elements */
}
#mobile-container {
width: 375px; /* Width of the mobile device */
height: 667px; /* Height of the mobile device */
overflow: hidden; /* Avoid overflow of inner content */
border: 1px solid #000; /* Representing device boundary */
border-radius: 20px; /* Optional: for rounded corners */
position: relative; /* Set position relative for the inner absolute positioning */
margin: 0 auto; /* Center the device horizontally */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Optional: for better visualization */
}
#playable-area {
width: 800px; /* Width of the playable area */
height: 600px; /* Height of the playable area */
margin: 0 auto; /* Center the playable area horizontally */
position: relative; /* Contain all the game elements within this area */
}