質問編集履歴
1
HTMLを書くように言われたので追記しました。 cssも切り取った内容だったので、全てのせました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -17,15 +17,83 @@
|
|
17
17
|
### 該当のソースコード
|
18
18
|
|
19
19
|
ネットで調べて色々書いてみたのですがダメです。
|
20
|
+
調べてinput[type=checkbox] をいじっているのですがブラウザで0x0となってしまいます。
|
21
|
+
うまくいかないのは「ログインを保持する」のチェックボックスです。
|
22
|
+
|
23
|
+
```html
|
24
|
+
<!DOCTYPE html>
|
25
|
+
<html lang="ja" prefix="og: http://ogp.me/ns#">
|
26
|
+
<head>
|
27
|
+
<meta charset="utf-8">
|
28
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
29
|
+
<meta name="robots" content=" noindex ">
|
30
|
+
<meta name="description" content="詳細">
|
31
|
+
<link rel="shortcut icon" href="favicon.ico">
|
32
|
+
<link rel="canonical" href="http://192.168.33.10/admin">
|
33
|
+
<title>タイトル</title>
|
34
|
+
<meta property="og:title" content="タイトル">
|
35
|
+
<meta property="og:description" content="詳細">
|
36
|
+
<meta property="og:type" content="website">
|
37
|
+
<meta property="og:site_name" content="Laravel">
|
38
|
+
<meta property="og:url" content="http://192.168.33.10/admin">
|
39
|
+
|
40
|
+
<link rel="stylesheet" href="css/admin/login.css">
|
41
|
+
</head>
|
42
|
+
<body>
|
43
|
+
<div id="app">
|
44
|
+
<div class="center logo">
|
45
|
+
<img src="storage/site/banner.png" alt="ロゴ画像">
|
46
|
+
</div>
|
47
|
+
<div class="center">
|
48
|
+
<form method="post" action="http://192.168.33.10/admin/top/login">
|
49
|
+
<input type="hidden" name="_token" value="gNAVOkep35XSN61k4E9DKv6gEJGYptgS50qMSFHm"> <div class="item">
|
50
|
+
<input class="field" type="number" name="id" required value="" placeholder="ID">
|
51
|
+
</div>
|
52
|
+
<div class="item">
|
53
|
+
<input class="field" type="text" name="password" required value="" placeholder="password">
|
54
|
+
</div>
|
55
|
+
<div class="item">
|
56
|
+
<label for="keep">ログインを保持する</label><input type="checkbox" name="keep" id="keep" value="1" checked>
|
57
|
+
</div>
|
58
|
+
<input class="button" type="submit">
|
59
|
+
</form>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
<script src="js/app.js" defer></script>
|
63
|
+
</body>
|
64
|
+
</html>
|
65
|
+
```
|
66
|
+
|
20
67
|
```css
|
21
68
|
@charset "utf-8";
|
69
|
+
input[type=text], input[type=email], input[type=tel], input[type=number] {
|
70
|
+
border: solid 1px;
|
71
|
+
border-color: silver;
|
72
|
+
}
|
73
|
+
|
22
|
-
input[type=
|
74
|
+
input[type=checkbox] {
|
23
|
-
|
75
|
+
box-sizing: border-box;
|
24
|
-
|
76
|
+
cursor: pointer;
|
25
|
-
|
77
|
+
display: inline-block;
|
26
|
-
|
78
|
+
width: auto;
|
27
|
-
|
79
|
+
margin: 0.4rem;
|
28
|
-
|
80
|
+
transform: scale(2);
|
81
|
+
}
|
82
|
+
|
83
|
+
div.center {
|
84
|
+
text-align: center;
|
85
|
+
}
|
86
|
+
|
87
|
+
div.logo {
|
88
|
+
margin-bottom: 200px;
|
89
|
+
}
|
90
|
+
|
91
|
+
div.item {
|
92
|
+
margin-bottom: 10px;
|
93
|
+
}
|
94
|
+
|
95
|
+
input.field {
|
96
|
+
text-align: left;
|
29
97
|
}
|
30
98
|
```
|
31
99
|
|