Skip to content

Can anyone help me figure out why the labels are outside the input? #13852

Answered by wongjn
yaardie asked this question in Help
Discussion options

You must be logged in to vote

Consider making the <form> the positional parent:

-<form class="contact-form mb-14 flex flex-col lg:mb-3.5" action="" method="post" accept-charset="UTF-8">
+<form class="contact-form mb-14 flex flex-col lg:mb-3.5 relative" action="" method="post" accept-charset="UTF-8">

https://play.tailwindcss.com/pKy33nGtQ4?size=1630x720

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yaardie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants