xyzsun commited on
Commit
864ff64
·
verified ·
1 Parent(s): 57ac97d

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +6 -1
index.html CHANGED
@@ -26,12 +26,17 @@
26
 
27
  #poem {
28
  font-size: 1.5em;
29
- line-height: 1.6;
 
 
 
 
30
  }
31
  </style>
32
  </head>
33
  <body>
34
  <div id="poem-container">
 
35
  <div id="poem">
36
  <p>君不见,黄河之水天上来,奔流到海不复回。</p>
37
  <p>君不见,高堂明镜悲白发,朝如青丝暮成雪。</p>
 
26
 
27
  #poem {
28
  font-size: 1.5em;
29
+ line-height: 1.2; /* 行距/
30
+ }
31
+
32
+ h1 {
33
+ margin-bottom: 10px; /* 添加标题后的下边距 */
34
  }
35
  </style>
36
  </head>
37
  <body>
38
  <div id="poem-container">
39
+ <h1>将进酒</h1>
40
  <div id="poem">
41
  <p>君不见,黄河之水天上来,奔流到海不复回。</p>
42
  <p>君不见,高堂明镜悲白发,朝如青丝暮成雪。</p>