質問編集履歴
1
セレクタ名追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
Webページの背景画像をcssで下記のように記述した場合、jQueryでこの画像をfadeInさせるにはどのように書いたらいいのでしょうか。
|
2
2
|
|
3
3
|
```ここに言語を入力
|
4
|
+
body {
|
4
|
-
background-image: url(../images/sample.jpg);
|
5
|
+
background-image: url(../images/sample.jpg);
|
5
|
-
background-position: center center;
|
6
|
+
background-position: center center;
|
6
|
-
background-repeat: no-repeat;
|
7
|
+
background-repeat: no-repeat;
|
7
|
-
background-attachment: fixed;
|
8
|
+
background-attachment: fixed;
|
8
|
-
background-size: cover;*/
|
9
|
+
background-size: cover;*/
|
10
|
+
}
|
9
11
|
```
|
10
12
|
|
11
13
|
※背景画像は全体に表示させ、画像の上に各要素を配置したいのでcssで背景を設定しました。
|