导入不了css,CSS不导入。
为什么我的style.css不对index.html进行更改?
两个文件都完美验证。
文件夹设置:网站> index.html,style.css。
的index.html
new site
- Work
- Blog
- Services
- About
- Contact
blah blah blah lorem ipsum blah blah
Design 1
Nulla et diam risus. Praesent vestibulum augue non purus tincidunt placerat. Sed in orci leo. Duis dignissim nibh vitae lacus placerat et posuere
Design 2
Nulla et diam risus. Praesent vestibulum augue non purus tincidunt placerat. Sed in orci leo. Duis dignissim nibh vitae lacus placerat et posuere
Design 3
Nulla et diam risus. Praesent vestibulum augue non purus tincidunt placerat. Sed in orci leo. Duis dignissim nibh vitae lacus placerat et posuere
Design 4
Nulla et diam risus. Praesent vestibulum augue non purus tincidunt placerat. Sed in orci leo. Duis dignissim nibh vitae lacus placerat et posuere
的style.css
/* Reset */
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, address, code, img,
small, strong, dl, dt, dd, ol, ul, li
fieldset, form, label {
background: transparent;
border: 0;
font-size: 100%;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;
}
body {
background: url(img/background.png) repeat;
font-family: alexandriaflf-bold-webfont,
Constantia,
"Lucida Bright",
"Bitstream Vera Serif",
"Liberation Serif",
serif;
}
ol, ul {
list-style-type: none;
}
/* Type */
@font-face {
font-family: alexandriaflf-bold-webfont;
src: url('type/alexandriaflf-bold-webfont.eot');
src: url('type/alexandriaflf-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('type/alexandriaflf-bold-webfont.woff') format('woff'),
url('type/alexandriaflf-bold-webfont.ttf') format('truetype'),
url('type/alexandriaflf-bold-webfont.svg#') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: alexandriaflf-bolditalic-webfont;
src: url('type/alexandriaflf-bolditalic-webfont.eot');
src: url('type/alexandriaflf-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
url('type/alexandriaflf-bolditalic-webfont.woff') format('woff'),
url('type/alexandriaflf-bolditalic-webfont.ttf') format('truetype'),
url('type/alexandriaflf-bolditalic-webfont.svg#') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: nevis-webfont;
src: url('type/nevis-webfont.eot');
src: url('type/nevis-webfont.eot?#iefix') format('embedded-opentype'),
url('type/nevis-webfont.woff') format('woff'),
url('type/nevis-webfont.ttf') format('truetype'),
url('type/nevis-webfont.svg#') format('svg');
font-weight: normal;
font-style: normal;
}
h1 {
font-family: nevis-webfont;
font-size: 160%;
font-weight: normal;
letter-spacing: 1px;
text-transform: uppercase;
}
h2 {
font-size: 80%;
font-weight: normal;
}
h3 {
font-size: 80%;
font-weight: bold;
}
p {
font-size: 80%;
}
a {
color: #202020;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
导入不了css,CSS不导入。相关推荐
- 导入semantic-ui-css/semantic.min.css样式失败
Module build failed: UnhandledSchemeError: Reading from "semantic-ui-css:/semantic.min.css" ...
- 怎样将css导入html文件中,css样式怎么导入?
css导入样式的方法:1.使用@import导入CSS样式表.2.行内样式就是把css样式直接写在HTML标签中.3.内嵌样式主要是将样式写在标签中.4.链接样式主要是通过link标签将css文件链到 ...
- simple css 汉化,Simple CSS(CSS文档生成器)
Simple CSS(CSS文档生成器)简介 Simple CSS(CSS文档生成器)简介一:Simple CSS是一款CSS文档生成器,帮助网页开发人员快速生成CSS样式,Simple CSS使用非 ...
- eclipse保存自动组织导入、删除不必要的导入、格式化代码
eclipse保存自动组织导入.删除不必要的导入.格式化代码: 窗口→首选项→Java→编辑器→保存操作→勾选"对保存执行所选操作"."格式化源码"." ...
- [JS,CSS] - CSS圆角框组件
来源:http://www.cnblogs.com/binyong/archive/2009/12/11/1621484.html 下载地址:http://files.cnblogs.com/biny ...
- oracle导入到mysql命令_oracle数据库导入导出命令
大多情况都可以用Oracle数据导入导出完成数据的备份和还原(不会造成数据的丢失). Oracle有个好处,虽然你的电脑不是服务器,但是你装了oracle客户端,并建立了连接 (通过Net Confi ...
- python中导入模块用什么命令_Python导入模块的技巧
作为使用Python的开发者,我们一开始学习的内容之一就是如何导入Python的各种模块或库.但是我们注意到,那些经常使用Python的用户并不一定都知道Python的导入机制其实非常灵活.在本文中, ...
- 导入数据任务(id:373985)异常, 错误信息:解析导入文件错误,请检查导入文件内容,仅支持导入json格式数据及excel文件
导入数据任务(id:373985)异常, 错误信息:解析导入文件错误,请检查导入文件内容,仅支持导入json格式数据及excel文件 参考文章: (1)导入数据任务(id:373985)异常, 错误信 ...
- python导入本地文件-Python使用import导入本地脚本及导入模块的技巧总结
本文实例讲述了Python使用import导入本地脚本及导入模块的技巧.分享给大家供大家参考,具体如下: 导入本地脚本 import 如果你要导入的 Python 脚本与当前脚本位于同一个目录下,只需 ...
- 可视化mysql怎么导入sql文件_使用navicat导入sql文件的方法步骤
一.打开navicat,打开连接,右击连接名(如果新建连接,需要使用对应数据库的ip地址和密码,本机的是地址localhost,密码是自己mysql数据库的密码),选择新建数据库,数据库名要和想要导入 ...
最新文章
- python经典小游戏-又一个python小游戏,叫什么不知道了。。。
- Android Bundle类 学习总结
- 数据挖掘之关联算法Apriori
- SSM项目中怎样引入并使用Bootstrap
- How SAP Fiori application is embedded in web client ui
- postman websocket_新型开源postwoman接口调试工具VS传统经典postman和crapAPI工具
- Anu Has a Function CodeForces - 1300C(二进制位运算)
- PowerDesigner物理数据模型
- js之ActiveX控件使用说明 new ActiveXObject()
- eclipse服务器添加项目工程,eclipse创建和发布web项目(示例代码)
- django 使用requests请求相关接口
- MySQL数据库储存引擎Inoodb一--记录储存结构
- 第一次使用并配置Hibernate
- 关于updatepanel回传之后JS失效问题
- 腾讯云支付系统架构介绍
- Android WMS架构:WindowContainer树形组合模式-理论基础+实践结果
- 常见报错:RuntimeError: expected scalar type Long but found Float
- AD domain 环境下VBS自动生成邮件签名
- 三方支付公司有哪些?
- java 获取微信头像和昵称 生成图片