質問編集履歴

1

html CSS を更新しました

2020/10/26 08:26

投稿

umi3
umi3

スコア18

test CHANGED
File without changes
test CHANGED
@@ -24,16 +24,42 @@
24
24
 
25
25
  ```html
26
26
 
27
- <div class="profile-pic">
27
+ <div class="profile">
28
28
 
29
-  <a href="profile.html"><img src="images/card/profile.jpg" width="70%" height="450px">
29
+  <div class="profile-pic">
30
30
 
31
- </div>
31
+   <a href="profile.html"><img src="images/card/profile.jpg" width="70%" height="450px">
32
32
 
33
- <div class="work-title">
33
+  </div>
34
34
 
35
+  <div class="work-title">
36
+
35
-  <p>POPVIRUS PLAYER</p>
37
+   <p>POPVIRUS PLAYER</p>
38
+
39
+  </div>
36
40
 
37
41
  </div>
38
42
 
39
43
  ```
44
+
45
+ ```CSS
46
+
47
+ .work-title{
48
+
49
+ margin: 0 auto 60px auto;
50
+
51
+ }
52
+
53
+ .work-title p{
54
+
55
+ width:70%;
56
+
57
+ height:450px;
58
+
59
+ position: absolute;
60
+
61
+ z-index: 10;
62
+
63
+ }
64
+
65
+ ```