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

質問編集履歴

1

コードを`で修正

2019/02/09 12:44

投稿

ka.sh
ka.sh

スコア12

title CHANGED
File without changes
body CHANGED
@@ -14,75 +14,74 @@
14
14
 
15
15
 
16
16
 
17
- **【html】**
17
+ html
18
18
 
19
- <section id="news">
19
+ ```<section id="news">```
20
- <h2>NEWS</h2>
20
+ ``<h2>`` NEWS ``</h2>``
21
+
21
- <dl>
22
+ ``<dl>``
22
- <a class="news2" href="">
23
+ ``<a class="news2" href="">``
23
- <dt>2019/1/1</dt>
24
+ ``<dt>``2019/1/1``</dt>``
24
- <dd>あああああああああああああああああああ</dd>
25
+ ``<dd>``あああああああああああああああああああ``</dd>``
25
- </a>
26
+ ``</a>``
26
27
 
27
- <a class="news2" href="">
28
+ ``<a class="news2" href="">``
28
- <dt>2019/1/1</dt>
29
+ ``<dt>``2019/1/1``</dt>``
29
- <dd>いいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいい<br>
30
+ ``<dd>``いいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいい``<br>``
30
- いいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいい</dd>
31
+ いいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいい``</dd>``
31
- </a>
32
+ ``</a>``
32
33
 
33
- <a class="news2" href="">
34
+ ``<a class="news2" href="">``
34
- <dt>2019/1/1</dt>
35
+ ``<dt>2019/1/1</dt>``
35
- <dd>うううううううううううう</dd>
36
+ ``<dd>``うううううううううううう``</dd>``
36
- </a>
37
+ `` </a>``
37
38
 
38
39
 
39
- </dl>
40
+ ``</dl>``
40
41
 
41
- /section>
42
+ ``</section>``
42
43
 
43
44
 
44
45
 
46
+
47
+
48
+ css
45
49
 
46
50
 
47
51
 
48
52
 
49
53
 
50
-
51
-
52
-
53
- **【css】**
54
-
55
- .news2{
54
+ **.news2**{
56
- display: block;
55
+ `display`: block;
57
- height: 40px;
56
+ `height`: 40px;
58
- margin-bottom: 10px;
57
+ `margin-bottom`: 10px;
59
- background-color: #EFEFEF;
58
+ `background-color`: #EFEFEF;
60
- padding-left: 6px;
59
+ `padding-left`: 6px;
61
- width: 695px;
60
+ `width`: 695px;
62
61
 
63
62
 
64
63
  }
65
64
 
66
65
  #news dl a{
67
- text-decoration: none;
66
+ `text-decoration`: none;
68
67
 
69
68
 
70
69
  }
71
70
 
72
71
  #news dt{
73
- font-size: 10px;
72
+ `font-size`: 10px;
74
- float: left;
73
+ `float`: left;
75
- color: #FFF;
74
+ `color`: #FFF;
76
- background-color: #C9CACA;
75
+ `background-color`: #C9CACA;
77
- width: 105px;
76
+ `width`: 105px;
78
- line-height: 29px;
77
+ `line-height`: 29px;
79
- text-align: center;
78
+ `text-align`: center;
80
- border-radius: 3px;
79
+ `border-radius`: 3px;
81
80
 
82
81
 
83
82
  }
84
83
  #news dd{
85
- font-size: 13px;
84
+ `font-size`: 13px;
86
- display: inline;
85
+ `display`: inline;
87
86
 
88
87
  }