In CSS how do I align two <p> tags with different font sizes?
Aadil M.
answered 12/16/24
CSS Web Developer
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.