In CSS how do I align two <p> tags with different font sizes?
Inactive Tutor
answered 12/16/24
look into flex positioning and then adding align-items: baseline property on it:
- Create a <div> element that has flex display set on it. Then set `align-items: baseline` on it.
- Nest both paragraph elements inside the div.
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.