質問編集履歴
2
情報追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,104 +66,28 @@
|
|
66
66
|
|
67
67
|
ご回答お待ちしております。
|
68
68
|
|
69
|
-
```HTML
|
69
|
+
```HTML
|
70
|
-
<!DOCTYPE html>
|
71
|
-
<html>
|
72
|
-
<head>
|
73
|
-
<base target="_top">
|
74
|
-
<style>
|
75
|
-
body {
|
76
|
-
background: linear-gradient(#05FBFF, #1D62F0 ) fixed;
|
77
|
-
width: 1024px;
|
78
|
-
|
70
|
+
<p style="font-size:40px;font-weight:900;text-align:center">★山田太郎</p>
|
79
|
-
}
|
80
|
-
.box{
|
81
|
-
text-align: center;
|
82
|
-
}
|
83
71
|
|
84
|
-
header {
|
85
|
-
|
72
|
+
<div class="button12">
|
86
|
-
height: 150px; /* 高さを180pxに指定 */
|
87
|
-
background:#99FFFF; /* 背景色にグレーを指定 */
|
88
|
-
|
73
|
+
<a id="btn_Tarou_Attendance" onclick="clickBtn_Tarou_Attendance();">👉出勤</a>
|
89
|
-
bo
|
74
|
+
<a id="btn_Tarou_leaving" onclick="clickBtn_Tarou_leaving();">👈退勤</a>
|
90
|
-
position: absolute; /* ウィンドウを基準に画面に固定 */
|
91
|
-
top: 0; /* 上下の固定位置を上から0pxにする */
|
92
|
-
|
75
|
+
</div>
|
93
|
-
}
|
94
76
|
|
77
|
+
<p style="font-size:20px;font-weight:900;text-align:center">ー有給取得登録欄ー</p>
|
95
78
|
|
79
|
+
<p></p>
|
80
|
+
<div id="parent">
|
81
|
+
<form name="form_Tarou">
|
82
|
+
<p></p>
|
83
|
+
<input name="date" type="date" />
|
84
|
+
<p></p>
|
85
|
+
</form>
|
86
|
+
</div>
|
96
87
|
|
97
|
-
.button12 a {
|
98
|
-
display: flex;
|
99
|
-
justify-content: space-between;
|
100
|
-
align-items: center;
|
101
|
-
position: relative;
|
102
|
-
margin: 0 auto;
|
103
|
-
padding: 1em 2em;
|
104
|
-
width: 300px;
|
105
|
-
color: #333;
|
106
|
-
font-size: 18px;
|
107
|
-
font-weight: 700;
|
108
|
-
background-color: #FFFFDD;
|
109
|
-
transition: 0.1s;
|
110
|
-
}
|
111
|
-
|
112
|
-
.button12 a::before {
|
113
|
-
content: '';
|
114
|
-
position: absolute;
|
115
|
-
bottom: -7px;
|
116
|
-
right: -7px;
|
117
|
-
width: 100%;
|
118
|
-
height: 2px;
|
119
|
-
background-color: #DDFFFF;
|
120
|
-
transition: 0.1s ease 0s;
|
121
|
-
}
|
122
|
-
|
123
|
-
.button12 a::after {
|
124
|
-
content: '';
|
125
|
-
position: absolute;
|
126
|
-
top: 7px;
|
127
|
-
right: -7px;
|
128
|
-
width: 2px;
|
129
|
-
height: 100%;
|
130
|
-
background-color: #DDFFFF;
|
131
|
-
transition: 0.1s ease 0.1s;
|
132
|
-
}
|
133
|
-
|
134
|
-
.button12 a:hover::before {
|
135
|
-
width: 0%;
|
136
|
-
}
|
137
|
-
|
138
|
-
.button12 a:hover::after {
|
139
|
-
height: 0%;
|
140
|
-
}
|
141
|
-
|
142
|
-
.button12 a:hover {
|
143
|
-
text-decoration: none;
|
144
|
-
background-color: #a0c4d3;
|
145
|
-
}
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
#parent {
|
150
|
-
text-align: center;
|
151
|
-
}
|
152
|
-
#btn {
|
153
|
-
text-align: center;
|
154
|
-
}
|
155
|
-
|
156
|
-
|
157
|
-
//ボックス部分
|
158
|
-
|
159
|
-
input[type="date"] {
|
160
|
-
padding: 10px;
|
161
|
-
text-align: center;
|
162
|
-
}
|
163
|
-
i
|
88
|
+
<div id="btn">
|
164
|
-
padd
|
89
|
+
<input type="button" value="登録" onclick="paid_Tarou()" id="btn_Tarou">
|
165
|
-
|
90
|
+
</div>
|
166
|
-
}
|
167
91
|
```
|
168
92
|
|
169
93
|
|
1
情報追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,4 +66,104 @@
|
|
66
66
|
|
67
67
|
ご回答お待ちしております。
|
68
68
|
|
69
|
+
```HTML・CSS部分
|
70
|
+
<!DOCTYPE html>
|
71
|
+
<html>
|
72
|
+
<head>
|
73
|
+
<base target="_top">
|
74
|
+
<style>
|
75
|
+
body {
|
76
|
+
background: linear-gradient(#05FBFF, #1D62F0 ) fixed;
|
77
|
+
width: 1024px;
|
78
|
+
padding-top: 160px; /* ヘッダーの後ろに要素が隠れないようにするため */
|
79
|
+
}
|
80
|
+
.box{
|
81
|
+
text-align: center;
|
82
|
+
}
|
69
83
|
|
84
|
+
header {
|
85
|
+
width: 100%; /* 幅いっぱいを指定 */
|
86
|
+
height: 150px; /* 高さを180pxに指定 */
|
87
|
+
background:#99FFFF; /* 背景色にグレーを指定 */
|
88
|
+
padding: 20px 50px; /* ヘッダーに上下左右それぞれ余白を指定 */
|
89
|
+
box-sizing: border-box; /* padding分を含んで幅を100%にするため */
|
90
|
+
position: absolute; /* ウィンドウを基準に画面に固定 */
|
91
|
+
top: 0; /* 上下の固定位置を上から0pxにする */
|
92
|
+
left: 0; /* 左右の固定位置を左から0pxにする */
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
.button12 a {
|
98
|
+
display: flex;
|
99
|
+
justify-content: space-between;
|
100
|
+
align-items: center;
|
101
|
+
position: relative;
|
102
|
+
margin: 0 auto;
|
103
|
+
padding: 1em 2em;
|
104
|
+
width: 300px;
|
105
|
+
color: #333;
|
106
|
+
font-size: 18px;
|
107
|
+
font-weight: 700;
|
108
|
+
background-color: #FFFFDD;
|
109
|
+
transition: 0.1s;
|
110
|
+
}
|
111
|
+
|
112
|
+
.button12 a::before {
|
113
|
+
content: '';
|
114
|
+
position: absolute;
|
115
|
+
bottom: -7px;
|
116
|
+
right: -7px;
|
117
|
+
width: 100%;
|
118
|
+
height: 2px;
|
119
|
+
background-color: #DDFFFF;
|
120
|
+
transition: 0.1s ease 0s;
|
121
|
+
}
|
122
|
+
|
123
|
+
.button12 a::after {
|
124
|
+
content: '';
|
125
|
+
position: absolute;
|
126
|
+
top: 7px;
|
127
|
+
right: -7px;
|
128
|
+
width: 2px;
|
129
|
+
height: 100%;
|
130
|
+
background-color: #DDFFFF;
|
131
|
+
transition: 0.1s ease 0.1s;
|
132
|
+
}
|
133
|
+
|
134
|
+
.button12 a:hover::before {
|
135
|
+
width: 0%;
|
136
|
+
}
|
137
|
+
|
138
|
+
.button12 a:hover::after {
|
139
|
+
height: 0%;
|
140
|
+
}
|
141
|
+
|
142
|
+
.button12 a:hover {
|
143
|
+
text-decoration: none;
|
144
|
+
background-color: #a0c4d3;
|
145
|
+
}
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
#parent {
|
150
|
+
text-align: center;
|
151
|
+
}
|
152
|
+
#btn {
|
153
|
+
text-align: center;
|
154
|
+
}
|
155
|
+
|
156
|
+
|
157
|
+
//ボックス部分
|
158
|
+
|
159
|
+
input[type="date"] {
|
160
|
+
padding: 10px;
|
161
|
+
text-align: center;
|
162
|
+
}
|
163
|
+
input[type="button"] {
|
164
|
+
padding: 10px;
|
165
|
+
text-align: center;
|
166
|
+
}
|
167
|
+
```
|
168
|
+
|
169
|
+
|