guhongwei 4 tahun lalu
induk
melakukan
3bd4ad314d
2 mengubah file dengan 13 tambahan dan 22 penghapusan
  1. 13 22
      public/home.html
  2. TEMPAT SAMPAH
      public/static/images/fuchuang.jpg

+ 13 - 22
public/home.html

@@ -14,37 +14,29 @@
       display: none;
     }
     #a{
-      width: 100%;
-      height: 30px;
       position: absolute;
+      bottom: -20px;
+      color: #fff;
       right: 0;
-      text-align: right;
-      border-bottom: 1px solid #ccc;
-      line-height: 30px;
     }
     #a:hover{
       cursor: pointer;
     }
     .floating{
-      width: 280px;
+      width: 350px;
       height: 150px;
-      background: #fff;
-      border-radius: 10px;
+      background-image: url(./static/images/fuchuang.jpg);
+      background-repeat: no-repeat;
+      background-size: 100%;
     }
     .floatingInfo{
-      padding: 0 17px;
-      font-size: 34px;
-      position: absolute;
-      top: 30px;
+      color: #F6FE6A;
+      text-align: center;
+      height: 150px;
+      line-height: 150px;
+      font-size: 30px;
       font-family: cursive;
-      -webkit-text-stroke: 1px #76bdfe;
-      color: transparent;
-      overflow: hidden;
-      text-overflow: ellipsis;
-      -webkit-line-clamp: 3;
-      word-break: break-all;
-      display: -webkit-box;
-      -webkit-box-orient: vertical;
+      text-shadow: 5px 5px 5px #000;
     }
     .floatingInfo:hover{
       cursor: pointer;
@@ -84,9 +76,8 @@
   <!-- 浮窗 -->
   <div id="floatingDiv" style="position:absolute;left:50px;top:60px;z-index: 9999;">
     <div id="a" onClick="javascript:this.parentNode.style.display='none';">关闭窗口</div>
-    <!-- <img src="01.jpg" border="0" /> -->
     <div class='floating' onclick="noticeBtn()">
-<p id="floatingid" class='floatingInfo'></p>
+      <p id="floatingid" class='floatingInfo'></p>
     </div>
   </div>
   <!--流星-->

TEMPAT SAMPAH
public/static/images/fuchuang.jpg