首页 > 解决方案 > 样式表已连接,但在进行一些更改时没有发生任何事情

问题描述

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

模板文件

<!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>

请告诉我该怎么做...我正在尝试进行半小时的更改,但没有任何反应。我还添加了粒子效果。那是问题吗?

标签: javascriptphphtmlcss

解决方案


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

> -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.

推荐阅读