Interview questions on tailwind css for frontend engineer positions. UI developer interview questions related to Tailwind CSS.
How to make only placeholder italics in tailwind CSS ?
By adding class name: placeholder:italic
Example:
<input type="text" class="placeholder:italic" />
How to make text bold in tailwind CSS ?
Add class : font-bold
How to make horizontally center in tailwind CSS ?
Add class : justify-center
How to make div content center both vertically and horizontally in Tailwind?
Add class : self-center