プロが教える店舗&オフィスのセキュリティ対策術

他のサイトのホームページのccsのコードなのですが、htmlの用紙にこのソースコードを貼り付けても、ccsの効果が適用されないのですが、どうしたら良いでしょうか?初心者です。

@media screen and (max-width: 901px)
.font25 {
    font-size: 20px;
}
.mw470 {
    max-width: 470px;
}
.blue {
    color: #32AAD2;
}
.w85 {
    width: 85%;
}
.font25 {
    font-size: 25px;
    font-size: 1.563em;
}
.cm {
    margin-left: auto;
    margin-right: auto;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
user agent stylesheet
div {
    display: block;
}
body {
    overflow: hidden;
    font-size: 1em;
    font-size: 16px;
    line-height: 1.5;
    font-family: メイリオ, Meiryo, 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'MS Pゴシック', Arial, Verdana, sans-serif;
}
user agent stylesheet
html {
    color: -internal-root-color;
}

A 回答 (1件)

cssは別。


htmlに読み込むよう記述。
<link rel="stylesheet"  ってやつ
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!