floating form box on the Carousel (how to do

Asked

Viewed 7 times

-1

Friends, I need help. I’m taking a test for dev. And I need to put the form box fixed on top of Carousel but I’ve already researched everything and I couldn’t. I wonder if you could help me?

I already made the box and put. but it stays down and I do not know how to make it float on the Carousel

  <h3?php
    if (isset($_SESSION ['msg'])){
        echo $_SESSION['msg'];
        unset($_SESSION['msg']);
    }
    ?>
    <div class="float-right">                       
        
        <body1 class="text-center">
            <main class="form-signin">   

                <img class="mb-4" src="img/Logo Teste Dark.svg" alt="" width="132" height="57">
                <h1 class="h3 mb-3 fw-normal">Cadastro</h1><br>

                <form method="POST" action="processa.php">
            
                <div class="form-floating mb-3">
                    <input type="text" name="nome" class="form-control"id="floatingInput" placeholder="Nome completo">
                </div>
                
                <div class="form-floating mb-3">            
                    <input type="email" name="email" class="form-control" id="floatingInput" placeholder="[email protected]">
                </div>
            
                <div class="form-floating mb-3">
                    <input type="text" name="telefone" class="form-control" id="floatingInput" placeholder="xx-xxxxxxxxx">
                </div>
                <div class="checkbox mb-3">
                    <label>
                    <input type="checkbox" value="remember-me"> Mantenha conectado
                    </label>
                </div>
                
                <input class="w-100 btn btn-lg btn-primary" type="submit" value="ENVIAR">         
            
            
                </form>
            </main>  
        </body1>  
    </div>
    <!--Fim Formulario-->
  • Please clarify your problem or provide additional details in order to highlight exactly what you need. The way it’s written these days it’s hard to tell exactly what you’re asking.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.