javascript - 样式表已连接,但在进行一些更改时没有发生任何事情
问题描述
我将 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>
请告诉我该怎么做...我正在尝试进行半小时的更改,但没有任何反应。我还添加了粒子效果。那是问题吗?
解决方案
我认为您正在加载缓存,您必须硬重置您的页面。尝试在您的页面上像这样重新加载:
> -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.
推荐阅读
- swift - 如何在 Swift 5 中通过键属性从字典中查找总数
- date - 批处理:如何导出昨天的日期保存格式[mm/dd/yyyy]?
- javascript - 为什么要将现有的 jQuery 类“removeClass”传递给 IIFE?
- c++ - QImage::pixel 和 QImage::setPixel 坐标超出范围错误
- recursion - x86_64 程序集中的递归阶乘问题
- r - R中的formattable可以按变量对表进行分组吗?
- mysql - 为什么我在 mysql 的这个查询中出现语法错误
- matlab - 如何从(30x3)矩阵生成 10 个(3x3)矩阵并将其用于旋转矩阵
- ionic-framework - Ionic 4 键盘覆盖全部内容
- qt - 如何正确更改 QSlider 的元素