質問編集履歴

4

「ゼルダの伝説について」という文の追加

2018/03/26 10:56

投稿

Akiraman
Akiraman

スコア5

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  <span style="position: absolute; left: 160px; top: 50px;color:goldenrod;font-size:210%;font-family:times;">The Lezend Of</span>
40
40
 
41
- <span style="position: absolute; left: 90px; top: 240px"><p class="menu">About</p></span>
41
+ <span style="position: absolute; left: 90px; top: 240px"><p class="menu">About</p></span>ゼルダの伝説について
42
42
 
43
43
  </body>
44
44
 

3

コードの変更

2018/03/26 10:56

投稿

Akiraman
Akiraman

スコア5

test CHANGED
File without changes
test CHANGED
@@ -32,15 +32,15 @@
32
32
 
33
33
  </head>
34
34
 
35
- <body><li style="cursor: pointer">
35
+ <body style="cursor: pointer">
36
36
 
37
37
  <h1 style="position: absolute; left: 60px; top: -90px"/>Z<span style="font-size:70%">ELDA</span></h1>
38
38
 
39
- <font color="goldenrod" size="6" face="MS 明朝,平成明朝" style="position: absolute; left: 165px; top: 50px">The Lezend Of</font>
39
+ <span style="position: absolute; left: 160px; top: 50px;color:goldenrod;font-size:210%;font-family:times;">The Lezend Of</span>
40
40
 
41
- <span style="position: absolute; left: 90px; top: 240px"/><p class="menu">About</p>
41
+ <span style="position: absolute; left: 90px; top: 240px"><p class="menu">About</p></span>
42
42
 
43
- </li></body>
43
+ </body>
44
44
 
45
45
  ```
46
46
 

2

文の付け足し

2018/03/25 16:59

投稿

Akiraman
Akiraman

スコア5

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,12 @@
5
5
  「ゼルダの伝説について」という文を出したいです。
6
6
 
7
7
  ![イメージ説明](4f5d6c159714c1bef6f59532b755184b.png)
8
+
9
+ aboutを親要素としてrelativeを使ってaboutの横につけていたのですが
10
+
11
+ ↓写真のようにaboutと文の距離が離れてしまうので他の方法を探しています
12
+
13
+ ![イメージ説明](2f5bd63aecc7e54a07c6f9528f1f37a5.png)
8
14
 
9
15
 
10
16
 

1

写真、コードの付け足し

2018/03/25 16:37

投稿

Akiraman
Akiraman

スコア5

test CHANGED
File without changes
test CHANGED
@@ -3,3 +3,103 @@
3
3
  写真のaboutにカーソルを合わせたの横に
4
4
 
5
5
  「ゼルダの伝説について」という文を出したいです。
6
+
7
+ ![イメージ説明](4f5d6c159714c1bef6f59532b755184b.png)
8
+
9
+
10
+
11
+ ```
12
+
13
+ html
14
+
15
+
16
+
17
+ <!DOCTYPE html>
18
+
19
+ <html lang="ja">
20
+
21
+ <head>
22
+
23
+ <meta charset="UTF-8">
24
+
25
+ <link rel="stylesheet" href="A.css" type="text/css">
26
+
27
+ </head>
28
+
29
+ <body><li style="cursor: pointer">
30
+
31
+ <h1 style="position: absolute; left: 60px; top: -90px"/>Z<span style="font-size:70%">ELDA</span></h1>
32
+
33
+ <font color="goldenrod" size="6" face="MS 明朝,平成明朝" style="position: absolute; left: 165px; top: 50px">The Lezend Of</font>
34
+
35
+ <span style="position: absolute; left: 90px; top: 240px"/><p class="menu">About</p>
36
+
37
+ </li></body>
38
+
39
+ ```
40
+
41
+ ```
42
+
43
+ css
44
+
45
+
46
+
47
+ h1{
48
+
49
+ color: goldenrod;
50
+
51
+ font-size:1100%;
52
+
53
+ font-family: "MS 明朝",serif;
54
+
55
+ }
56
+
57
+ body{
58
+
59
+ background-color: #000000
60
+
61
+ }
62
+
63
+ p.menu{
64
+
65
+ color: #FF0000;
66
+
67
+ font-size:260%;
68
+
69
+ font-family:times;
70
+
71
+ display:inline-block;
72
+
73
+ width:0%;
74
+
75
+ background-color: white;
76
+
77
+ transition: all 300ms 0s ease;
78
+
79
+ }
80
+
81
+ p.menu:hover {
82
+
83
+ display:inline-block;
84
+
85
+ width:100%;
86
+
87
+ color: black;
88
+
89
+ }
90
+
91
+ p.menuber{
92
+
93
+ color:white;
94
+
95
+ font-size:100%;
96
+
97
+ font-family:times;
98
+
99
+ position:relative;
100
+
101
+ left:100%;
102
+
103
+ }
104
+
105
+ ```