样式表已连接,但是进行一些更改时没有任何反应

时间:2018-09-02 12:24:11

标签: javascript php html css

我将Templete.php连接到style.css,但是当我更改Templete.php中的任何内容时,它会显示结果,但是如果我在样式表中进行任何更改,则不会显示结果。我该怎么办? 我的网站没有上线。我正在wamp服务器上做。

templete.php

<!DOCTYPE html>
<html>
<head lang="en">
  <title>SEO SOBER</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Merienda" 
rel="stylesheet"

<head>
<body>
  <header id="particles-js">
    <?php
    include "navbar.php";
    ?>
  </header>
<!--..... header ends.......-->
<div class="clients">
  <h3>Our Clients</h3>
  <img class="client-img" src="images/clients.png">
</div>
<!--clients ends -->
  <div class="container-About">
    <div class="text">
    <h3>SEO SOBER Digital Story</h3>
<p>about company</p>
</div>
<div class="button">
  <a href="#" class="btn"> READ MORE</a>
    </div>
  </div>
  <!-- about ends -->
  <div class="features">
    <h3>Services</h3>
    <div class="maincontainer">
      <!-- first card-->
      <div class="thecard">
        <div class="thefront">
          <div class="seo_card">
            <img class="services-image" src="images/seo-gif-10.gif">
            <h4>Search Engine Optimization</h4>
          </div>
        </div>
        <div class="theback">back of the card</div>
      </div>
      <!-- second card-->
      <div class="thecard">
        <div class="thefront">
          <div class="seo_card">
            <img class="services-image" src="images/web-design-service.gif">
            <h4>Web Design</h4>
          </div>
        </div>
        <div class="theback">back of the card</div>
      </div>
      <!-- third card-->
      <div class="thecard">
        <div class="thefront">
          <div class="seo_card">
            <img  class="services-image" src="images/Development.gif">
            <h4>Web Development</h4>
          </div>
        </div>
        <div class="theback">back of the card</div>
      </div>
      <!-- fourth card-->
      <div class="thecard">
        <div class="thefront">
          <div class="seo_card">
            <img class="services-image" src="images/social.gif">
            <h4>Social Media Marketing</h4>
          </div>
        </div>
        <div class="theback">back of the card</div>
      </div>
      <div class="clearfix">
      </div>
    </div>
  </div>
  <!-- services end-->
<script src="js/particles.js"></script>
<script src="js/particles.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>

请告诉我该怎么做... 我正在尝试进行半个小时的更改,但是什么也没发生。 我还添加了粒子效果。那是问题吗?

1 个答案:

答案 0 :(得分:0)

我认为您正在加载缓存,因此必须对页面进行硬重置。尝试像这样在您的页面上重新加载:

> -Hold the Ctrl key and press the F5 key.

> -Hold the ⇧ Shift key and click the Reload button on the navigation toolbar.

> -Hold the Ctrl key and click the Reload button on the navigation toolbar.

> -Hold the ⇧ Shift key and press the F5 key.