Challenge: Typography in Action
メニューを表示するにはスワイプしてください
Task
Using the Tailwind CSS utilities for typography, create a text component with the following specifications:
- A heading (
h1) with:- Font size of 4xl;
- Bold font weight;
- Normal line height.
- A subheading (
h2) with:- Font size of 2xl;
- Semi-bold font weight;
- Tight line height.
- A paragraph (
p) with:- Font size of base;
- Normal font weight;
- Relaxed line height.
index.html
- Font Size: Use
text-4xl,text-2xl,text-basefor font sizes; - Font Weight: Use
font-bold,font-semibold,font-normalfor font weights; - Line Height: Use
leading-normal,leading-tight,leading-relaxedfor line heights.
index.html
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 8
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください
セクション 2. 章 8