質問編集履歴
1
111
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,8 +1,16 @@
|
|
1
1
|
```html
|
2
2
|
|
3
|
-
<div class="
|
3
|
+
<div class="row">
|
4
4
|
|
5
|
+
<div class="img-holder">
|
6
|
+
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div class="card">
|
10
|
+
|
5
|
-
|
11
|
+
<div>
|
12
|
+
|
13
|
+
<div class="form-content">
|
6
14
|
|
7
15
|
<div class="form-items">
|
8
16
|
|
@@ -26,10 +34,96 @@
|
|
26
34
|
|
27
35
|
</div>
|
28
36
|
|
37
|
+
</div>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
|
29
41
|
```
|
30
42
|
|
31
43
|
|
32
44
|
|
33
|
-
bootstrapを使い、上記の<div class="panel panel-default"></div>までを正方形の角の丸いパネルで
|
34
45
|
|
46
|
+
|
47
|
+
```css
|
48
|
+
|
49
|
+
body {
|
50
|
+
|
51
|
+
background-image: url("../img/img2.jpg");
|
52
|
+
|
53
|
+
background-position: center center;
|
54
|
+
|
55
|
+
background-attachment: fixed;
|
56
|
+
|
57
|
+
background-size: cover;
|
58
|
+
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
.container {
|
64
|
+
|
65
|
+
padding-right: 450px;
|
66
|
+
|
67
|
+
padding-left: 450px;
|
68
|
+
|
69
|
+
margin-right: auto;
|
70
|
+
|
71
|
+
margin-left: auto;
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
img.logo-size {
|
80
|
+
|
81
|
+
width: 96px;
|
82
|
+
|
83
|
+
height: 65px;
|
84
|
+
|
85
|
+
margin:20px;
|
86
|
+
|
87
|
+
}
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
.positioned {
|
92
|
+
|
93
|
+
position: absolute;
|
94
|
+
|
95
|
+
top: 120px;
|
96
|
+
|
97
|
+
left: 140px;
|
98
|
+
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
.form-holder{
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
display: #808080;
|
108
|
+
|
109
|
+
}
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
.card {
|
114
|
+
|
115
|
+
width: 500px;
|
116
|
+
|
117
|
+
height: 200px;
|
118
|
+
|
119
|
+
background-color:#808080;
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
```
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
上記のコードでbootstrapのcardを使いパネルを作成しましたが、cardの横幅を変更できませんでした。
|
128
|
+
|
35
|
-
|
129
|
+
どうしたら正方形のパネルをつくれるか教えてほしいです。
|