[英]Headers css/bootstrap issues, strange
我不明白这是怎么回事。
这是我的文件数据“结构”:
这是我的文件夹“ css”的内容
因此,在我的程序中:该文件“ estudiante.php”,“ editar.php”和“ hola.php”具有相同的头。 看一看:
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
问题是我无法从“ css”文件夹链接文件“ estilos.css”,因为在使用chrome检查检查元素工具时出现了一些错误:
但这很奇怪,因为我在标头上写了这一行:
<meta name="viewport" content="width=device-width, initial-scale=1">
那行使我的页面响应,但是这些命令在我的estilos.css文件中。我不明白,看一下:
因此,estilos.css没有出现在我的代码中,但是标题使用了内容并使我的网站具有响应能力? 我不明白这个队友:(
仔细检查您的文件命名约定。 看来您正在隐藏文件扩展名,因为bootstrap
, bootstrap.min
等结尾没有.css
,而estilos.css
。 您的文件实际上可能名为estilos.css.css
,但您可能不知道。
https://www.howtogeek.com/205086/beginner-how-to-make-windows-show-file-extensions/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.