質問編集履歴
2
情報の追加
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
他のcssは読み込めるが,ある1つのcssだけがブラウザで読み込まれない
|
1
|
+
じ他のcssは読み込めるが,ある1つのcssだけがブラウザで読み込まれない
|
body
CHANGED
@@ -27,6 +27,22 @@
|
|
27
27
|
|
28
28
|

|
29
29
|
|
30
|
+
|
31
|
+
### ディレクトリ構成
|
32
|
+
|
33
|
+
```
|
34
|
+
.
|
35
|
+
├── aset
|
36
|
+
│ ├── app.css
|
37
|
+
│ ├── common.css
|
38
|
+
├── index.html
|
39
|
+
```
|
40
|
+
|
41
|
+
このようになっています。
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
30
46
|
ちなみにapp.e08a958ae3e530145318b6373195c765.cssの中は以下の通り
|
31
47
|
|
32
48
|
```
|
@@ -35,6 +51,17 @@
|
|
35
51
|
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}.border-box,a,article,aside,blockquote,body,code,dd,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,html,input[type=email],input[type=number],input[type=password],input[type=tel],input[type=text],input[type=url],legend,li,main,nav,ol,p,pre,section,table,td,textarea,th,tr,ul{box-sizing:border-box}.aspect-ratio{height:0;position:relative}.aspect-ratio--16x9{padding-bottom:56.25%}.aspect-ratio--9x16{padding-bottom:177.77%}.aspect-ratio--4x3{padding-bottom:75%}.aspect-ratio--3x4{padding-bottom:133.33%}.aspect-ratio--6x4{padding-bottom:66.6%}.aspect-ratio--4x6{padding-bottom:150%}.aspect-ratio--8x5{padding-bottom:62.5%}.aspect-ratio--5x8{padding-bottom:160%}.aspect-ratio--7x5{padding-bottom:71.42%}.aspect-ratio--5x7{padding-bottom:140%}.aspect-ratio--1x1{padding-bottom:100%}.aspect-ratio--object{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:100}@media screen and (min-width:30em){.aspect-ratio-ns{height:0;position:relative}.aspect-ratio--16x9-ns{padding-bottom:56.25%}.aspect-ratio--9x16-ns{padding-bottom:177.77%}.aspect-ratio--4x3-ns{padding-bottom:75%}.aspect-rat..........
|
36
52
|
```
|
37
53
|
|
38
|
-
普通のcssのようではなく連続して表記されてい
|
54
|
+
普通のcssのようではなく連続して表記されています。
|
39
55
|
|
56
|
+
*HTML*でのcss指定部分
|
57
|
+
|
58
|
+
```
|
59
|
+
# index.html
|
60
|
+
|
61
|
+
<link href="aset/app.css" type="text/css" rel="stylesheet" />
|
62
|
+
|
63
|
+
<link href="aset/app.css" type="text/css" rel="stylesheet"; charset=UTF-8 />
|
64
|
+
でもやってみましたができませんでした。
|
65
|
+
```
|
66
|
+
|
40
67
|
どなたか、知恵をお貸しください。お願いします。
|
1
メディア追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -16,6 +16,9 @@
|
|
16
16
|
|
17
17
|
]
|
18
18
|
|
19
|
+
common.cssは@charsetを忘れていたみたいです、すいません
|
20
|
+
|
21
|
+

|
19
22
|
|
20
23
|
|
21
24
|
|