Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

120
Vistas
how to fixed footer in bottom

how to fixed footer in bottom?

JSX HTML Code

import React from 'react';
import { Card } from 'react-bootstrap';
import './Footer.css';
 const Footer = () => {
    const today = new Date();
    const year = today.getFullYear();
    return (
        <div id='foot'>
            <Card className="text-center bg-dark">
            {/* <Card.Header>Featured</Card.Header> sticky-bottom  */}
            <Card.Body className='blockquote-footer '>
                <Card.Title className='color-white'>Top Gear</Card.Title>
                <Card.Text>
                    <p><small>copyright @ {year} </small></p>
                </Card.Text>

            </Card.Body>
        </Card>
        </div>




    );
};

export default Footer;

JSX CSS Code

 #foot {
    margin-top: 1rem;
    padding: 1rem;
    background-color: black;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

when I call this footer component inside the other component footer can not stay at bottom position

I try to fix it but I can not solve it##

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You should create a component looks like below.

<Head/>
{children}
<Footer/>

It is the easiest way to place your footer at the bottom.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda