質問編集履歴
1
コード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -39,3 +39,103 @@
|
|
39
39
|
左から通常表示、キーボード表示(Iphone)、キーボード表示(Android)、キーボード表示(Android縦横レイアウト同じ)
|
40
40
|
|
41
41
|
![イメージ説明](356845df8a6f19621726d10e52122604.png)
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
```html
|
48
|
+
|
49
|
+
<html>
|
50
|
+
|
51
|
+
<body>
|
52
|
+
|
53
|
+
<div class="overflow">
|
54
|
+
|
55
|
+
<div class="content_a">
|
56
|
+
|
57
|
+
.
|
58
|
+
|
59
|
+
.
|
60
|
+
|
61
|
+
.
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
65
|
+
<div class="content_b">
|
66
|
+
|
67
|
+
<textarea rows="5" cols="80"></textarea>
|
68
|
+
|
69
|
+
</div>
|
70
|
+
|
71
|
+
</div>
|
72
|
+
|
73
|
+
</body>
|
74
|
+
|
75
|
+
</html>
|
76
|
+
|
77
|
+
```
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
```css
|
82
|
+
|
83
|
+
html{
|
84
|
+
|
85
|
+
width: 100vw;
|
86
|
+
|
87
|
+
height: 100vh;
|
88
|
+
|
89
|
+
position: relative;
|
90
|
+
|
91
|
+
}
|
92
|
+
|
93
|
+
body{
|
94
|
+
|
95
|
+
height: 100%;
|
96
|
+
|
97
|
+
width: 100%;
|
98
|
+
|
99
|
+
}
|
100
|
+
|
101
|
+
.overflow{
|
102
|
+
|
103
|
+
overflow: hidden;
|
104
|
+
|
105
|
+
position: relative;
|
106
|
+
|
107
|
+
height: 100%;
|
108
|
+
|
109
|
+
width: 100%;
|
110
|
+
|
111
|
+
}
|
112
|
+
|
113
|
+
.content_b{
|
114
|
+
|
115
|
+
position: absolute;
|
116
|
+
|
117
|
+
bottom: 0;
|
118
|
+
|
119
|
+
width: 100%;
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
//横向き
|
126
|
+
|
127
|
+
@media (max-width: 896px) and (orientation: landscape)
|
128
|
+
|
129
|
+
.content_a{
|
130
|
+
|
131
|
+
height: 100vh;
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
.content_b{
|
136
|
+
|
137
|
+
opacity: 0;
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
```
|