JSFiddle - React, Tailwind, and code Playground

by academiax

HTML

<!DOCTYPE html>
<html>
<head>
    <title>Cuadro Flotante</title>
    <style>
        .float-box {
            width: 200px;
            height:1300px;
            float: right;
            /* margin: 20px; */
            padding: 20px;
            background-color: #FF4D4D;
            color: white;
            border-radius: 8px;
        }
    </style>
</head>
<body>
    <div class="float-box">

    </div>
        <p>Este es un ejemplo de un cuadro flotante con fondo rojo y texto. Puedes ajustar los estilos y el contenido según tus necesidades.</p>

    
    <!-- <div style="clear: both;"></div> -->
</body>
</html>