質問編集履歴

2

コードの修正

2017/11/25 15:06

投稿

narururu
narururu

スコア172

test CHANGED
File without changes
test CHANGED
@@ -20,11 +20,11 @@
20
20
 
21
21
  $(function() {
22
22
 
23
- $(.left carousel-control).on("click",function() {
23
+ $(".left").on("click",function() {
24
24
 
25
- ("carousel-caption").fadeIn();
25
+ $(".carousel-caption").fadeIn("slow");
26
26
 
27
- }
27
+ });
28
28
 
29
29
  });
30
30
 
@@ -32,11 +32,11 @@
32
32
 
33
33
  $(function() {
34
34
 
35
- $(.right carousel-control).on("click",function() {
35
+ $(".right").on("click",function() {
36
36
 
37
- ("carousel-caption").fadeIn();
37
+ $(".carousel-caption").fadeIn("slow");
38
38
 
39
- }
39
+ });
40
40
 
41
41
  });
42
42
 

1

説明追記

2017/11/25 15:06

投稿

narururu
narururu

スコア172

test CHANGED
File without changes
test CHANGED
@@ -122,4 +122,30 @@
122
122
 
123
123
  ```
124
124
 
125
+
126
+
127
+ ###CSSコード
128
+
129
+ ```
130
+
131
+ .carousel-inner {
132
+
133
+ padding: 0;
134
+
135
+ }
136
+
137
+ .carousel-caption {
138
+
139
+ bottom: 25%;
140
+
141
+ }
142
+
143
+ ```
144
+
145
+
146
+
147
+ ※カルーセルはBootstrap3で実装しています。
148
+
149
+
150
+
125
151
  以上、ご確認お願いいたします。