回答編集履歴

2

修正

2019/06/05 11:18

投稿

m.ts10806
m.ts10806

スコア80852

test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- `/`で始まると絶対パスになるので注意です。
9
+ `/`で始まるとルート(Windowsなら大抵Cからの)からの絶対パスになるので注意です。
10
10
 
11
11
  ローカルPC上で動かしているうちはそのファイルからの相対パスにしておいたほうが良いでしょう。
12
12
 

1

追記

2019/06/05 11:18

投稿

m.ts10806
m.ts10806

スコア80852

test CHANGED
@@ -9,3 +9,65 @@
9
9
  `/`で始まると絶対パスになるので注意です。
10
10
 
11
11
  ローカルPC上で動かしているうちはそのファイルからの相対パスにしておいたほうが良いでしょう。
12
+
13
+
14
+
15
+ -------
16
+
17
+ コードブロックの分け方:
18
+
19
+ ```html
20
+
21
+ <footer>
22
+
23
+ <link rel="stylesheet" href="/icomoon/style.css">
24
+
25
+ <ul>
26
+
27
+ <a href="https://facebook.com" target="_blank">
28
+
29
+ <li><span class="icon-facebook"></span></li>
30
+
31
+ </a>
32
+
33
+ <a href="https://twitter.com" target="_blank">
34
+
35
+ <li><span class="icon-twitter"></span></li>
36
+
37
+ </a>
38
+
39
+ <a href="https://instagram.com" target="_blank">
40
+
41
+ <li><span class="icon-instagram"></span></li>
42
+
43
+ </a>
44
+
45
+ </ul>
46
+
47
+ <p>&copy 2019 Airbnb,Inc.All rights reserved.</p>
48
+
49
+ </footer>
50
+
51
+ ```
52
+
53
+ ```css
54
+
55
+ .icon-facebook:before {
56
+
57
+ content: "\ea91";
58
+
59
+ }
60
+
61
+ .icon-twitter:before {
62
+
63
+ content: "\ea96";
64
+
65
+ }
66
+
67
+ .icon-instagram:before {
68
+
69
+ content: "\ea92";
70
+
71
+ }
72
+
73
+ ```