Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
を使用して特定のフォントをWebサイトに配置しようとしています
@font-face
色以外はすべて大丈夫そうです。
.otfCSSでフォントの色を変更する方法はありますか?
.otf
セレクターを使用して宣言します。
例えば
p { font-family: 'AsapRegular'; color: #c50000; }
通常どおりに色を変更するだけで十分です。
p { color:red; }
上書きされていないことと、宣言の特異性が十分に高いことを確認してください。