質問するログイン新規登録

回答編集履歴

1

css修正

2018/06/03 11:46

投稿

退会済みユーザー
answer CHANGED
@@ -1,9 +1,13 @@
1
1
  text-align: center; を追加してみてはどうでしょうか。
2
2
 
3
3
  ```lang=stylesheet
4
- #feature-refreshlemon .mainvisual_ img {
4
+ #feature-refreshlemon .mainvisual_ {
5
+ background-image: url("img/event/feature-refreshlemon/sample_image.gif");
6
+ background-position: center;
7
+ background-repeat: no-repeat;
8
+ background-size: cover;
9
+ max-width: 1000px;
5
10
  margin: 0 auto;
6
- border: 2px solid rgb(207, 145, 21);
7
- text-align: center; ← これを追加する
11
+ text-align: center;
8
12
  }
9
13
  ```