質問編集履歴

1

コードの追加

2018/12/27 02:56

投稿

YOD
YOD

スコア14

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,47 @@
6
6
 
7
7
 
8
8
 
9
+ ```
10
+
11
+ <body>
12
+
13
+ <div class="icon">
14
+
15
+ <img src="img/icon.jpg" class="add"/>
16
+
17
+ </div>
18
+
19
+ </body>
20
+
21
+ ```
22
+
23
+ ```
24
+
25
+ .icon{
26
+
27
+ width: 100%;
28
+
29
+ position: relative;
30
+
31
+ }
32
+
33
+
34
+
35
+ .add{
36
+
37
+ position: absolute;
38
+
39
+ bottom:50px;
40
+
41
+ right:50px;
42
+
43
+ ```
44
+
45
+
46
+
47
+ ```
48
+
9
- ```$(function () {
49
+ $(function () {
10
50
 
11
51
  var topBtn = $('.add');
12
52
 
@@ -22,4 +62,6 @@
22
62
 
23
63
  });
24
64
 
25
- });```
65
+ });
66
+
67
+ ```