質問編集履歴

3

変更その3

2018/12/09 15:07

投稿

isekaitenseiSAO
isekaitenseiSAO

スコア6

test CHANGED
File without changes
test CHANGED
@@ -76,6 +76,12 @@
76
76
 
77
77
  ```
78
78
 
79
+
80
+
81
+
82
+
83
+
84
+
79
85
  .circle-b{
80
86
 
81
87
  margin-top: 30px;
@@ -98,34 +104,8 @@
98
104
 
99
105
  position: absolute;
100
106
 
101
-
102
-
103
- ```
104
-
105
- .circle-b{
106
-
107
- margin-top: 30px;
108
-
109
- position: relative;
110
-
111
- margin: 0 auto;
112
-
113
- }
114
-
115
- .circle-box-b img:first-child{
116
-
117
- position: absolute;
118
-
119
107
  }
120
108
 
121
- .circle-box-b img:nth-child(2){
122
-
123
- opacity:0 ;
124
-
125
- position: absolute;
126
-
127
- }
128
-
129
109
  ```
130
110
 
131
111
  jQueryのコード

2

バッククオート変更その2

2018/12/09 15:06

投稿

isekaitenseiSAO
isekaitenseiSAO

スコア6

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- ```jQueryでボタンにかざしたらimgが変更するというものを作りたいです。 
1
+ jQueryでボタンにかざしたらimgが変更するというものを作りたいです。 
2
2
 
3
3
 
4
4
 
@@ -126,7 +126,7 @@
126
126
 
127
127
  }
128
128
 
129
-
129
+ ```
130
130
 
131
131
  jQueryのコード
132
132
 

1

バッククート追加しました。 keiさんご指摘ありがとうございます。 もしよろしければ引き続きコメントくれると嬉しいです。

2018/12/09 15:06

投稿

isekaitenseiSAO
isekaitenseiSAO

スコア6

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- jQueryでボタンにかざしたらimgが変更するというものを作りたいです。 
1
+ ```jQueryでボタンにかざしたらimgが変更するというものを作りたいです。 
2
2
 
3
3
 
4
4
 
@@ -10,9 +10,7 @@
10
10
 
11
11
 
12
12
 
13
-
14
-
15
- htmlのコード  
13
+ ```
16
14
 
17
15
  <div id="buttons2">
18
16
 
@@ -70,10 +68,14 @@
70
68
 
71
69
  </div>
72
70
 
71
+ ```
72
+
73
73
 
74
74
 
75
75
  一部のcssコード
76
76
 
77
+ ```
78
+
77
79
  .circle-b{
78
80
 
79
81
  margin-top: 30px;
@@ -96,13 +98,39 @@
96
98
 
97
99
  position: absolute;
98
100
 
101
+
102
+
103
+ ```
104
+
105
+ .circle-b{
106
+
107
+ margin-top: 30px;
108
+
109
+ position: relative;
110
+
111
+ margin: 0 auto;
112
+
113
+ }
114
+
115
+ .circle-box-b img:first-child{
116
+
117
+ position: absolute;
118
+
99
119
  }
100
120
 
121
+ .circle-box-b img:nth-child(2){
122
+
123
+ opacity:0 ;
124
+
125
+ position: absolute;
126
+
127
+ }
128
+
101
129
 
102
130
 
103
131
  jQueryのコード
104
132
 
105
- $(function(){ //index 
133
+ ```$(function(){ //index 
106
134
 
107
135
 
108
136
 
@@ -122,7 +150,7 @@
122
150
 
123
151
  });
124
152
 
125
- ーーーーーーここからーーーーーーー
153
+
126
154
 
127
155
  $('circle-box-b').on({
128
156
 
@@ -189,3 +217,7 @@
189
217
 
190
218
 
191
219
  });
220
+
221
+
222
+
223
+ ```