Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

136
Visualizações
how to position my BS-CS and stars to the bottom

I want to fix the BS-CS and stars portion stick to the bottom of my container but i can't do that what should i do now here is my bootstrap code.

<div className="item1 col-12 col-md-6 col-lg-4 col-xl-4 my-4"> {/* col-12 -> to display only 1 card in mobile of all col // col-md-6 -> display 2 cards in medium devices // col-lg-6 -> also display 2 cards in large devices // col-xl-4 -> display 3 cards in extra large devices */}
                <div className="row teacher_card">
                    {/* for teacher images */}
                    <div className="col-12 col-md-12 col-lg-4 teacher_img">
                        <img src={props.teacher_img} className="img-fluid img_size" alt="Teacher pic" />
                    </div>
                    {/* Teacher Discription infprmation */}
                    <div className="col-12 col-md-12 col-lg-8 teacher_info">
                        <div className="teacher_name"> {/* pt-4 -> padding top 4px // pb-3 -> padding top 3px */}
                            <h1> {props.teacher_name} </h1>
                            <p> {props.teacher_info} </p>
                        </div>
                        <div className="teacher_edu_city ">
                            <div className="teacher_edu_city-in d-flex justify-content-between">
                                <h5> {props.teacher_edu} </h5>
                                <h5> {props.teacher_city} </h5>
                            </div>
                            <p> 🌟🌟🌟🌟🌟 </p>
                        </div>
                    </div>
                </div>
            </div>

enter image description here

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

if you want to position your stars in bottom of your content, you can do with position.

give a class to stars

than in css:

.teacher_info {       
    position: relative;        
}

.stars {   
  position: absolute;  
  left: 0;  
  bottom: 0; 
}
about 4 years ago · Juan Pablo Isaza Relatório

0

First, Give div.item1 Element d-flex flex-column classes if you are using bootstrap 4+, Or just add this styles to

display: flex;
flex-direction: column;

Second, You can add mt-auto to div.teacher_edu_city , Or use this styles

margin-top: auto;

That's it.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda