日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > CSS >内容正文

CSS

导入不了css,CSS不导入。

發布時間:2024/4/14 CSS 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 导入不了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不导入。的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。