Browse Source

替换图片

Limengbo 5 years atrás
parent
commit
b32e51e6c0
3 changed files with 3 additions and 3 deletions
  1. 2 2
      css/question.css
  2. BIN
      image/question/questionbg.jpg
  3. 1 1
      view/question.html

+ 2 - 2
css/question.css

@@ -26,7 +26,7 @@ body {
 }
 .title {
     position: absolute;
-    top: 4.96rem;
+    top: 3.46rem;
     left: 50%;
     transform: translateX(-50%);
     width: 7.12rem;
@@ -41,7 +41,7 @@ body {
 }
 .subject {
     position: absolute;
-    top: 5.2rem;
+    top: 3.96rem;
     left: 0;
     right: 0;
     margin:0 auto;

BIN
image/question/questionbg.jpg


+ 1 - 1
view/question.html

@@ -11,7 +11,7 @@
 <body>
     <div class="content">
     <div class="question-container">
-        <img class="container-bg" src="../image/question/questionbg.png" alt="">
+        <img class="container-bg" src="../image/question/questionbg.jpg" alt="">
         <div class="title">
             <img src="../image/question/title.png" alt="title">
         </div>