回答編集履歴
1
コード追記
test
CHANGED
@@ -19,3 +19,33 @@
|
|
19
19
|
}
|
20
20
|
|
21
21
|
```
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
あるいは、`position: absolute;` を使ってもいいですね。
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
```css
|
30
|
+
|
31
|
+
.box{
|
32
|
+
|
33
|
+
background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3));
|
34
|
+
|
35
|
+
position: relative;
|
36
|
+
|
37
|
+
padding-bottom: 1em;
|
38
|
+
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
.box button{
|
44
|
+
|
45
|
+
position: absolute;
|
46
|
+
|
47
|
+
bottom: 0;
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
```
|