ECサイト用パーツ

Fira Code

埋め込みタグ(スタイルシート)

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap');

埋め込みタグ(HTML/linkタグ)

<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap" rel="stylesheet">

CSS

body {
	font-family: 'Fira Code', sans-serif;
	font-weight: 300; /* Light 300 */
	font-weight: 400; /* Regular 400 */
	font-weight: 500; /* Medium 500 */
	font-weight: 600; /* Semi-bold 600 */
	font-weight: 700; /* Bold 700 */
}

Light 300

Almost before we knew it, we had left the ground. 0123456789

Regular 400

Almost before we knew it, we had left the ground. 0123456789

Medium 500

Almost before we knew it, we had left the ground. 0123456789

Semi-bold 600

Almost before we knew it, we had left the ground. 0123456789

Bold 700

Almost before we knew it, we had left the ground. 0123456789