Tips on arranging my Bachelor's in Computer Science degree certificate and academic awards at the bottom

I am trying to make the BS-CS and stars section stick to the bottom of my container, but I am facing difficulties in achieving that. Can someone help me with this? 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 on mobile // col-md-6 -> display 2 cards on medium devices // col-lg-6 -> also display 2 cards on large devices // col-xl-4 -> display 3 cards on 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 Description information */}
                    <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>

Answer â„–1

If you'd like to place your stars at the bottom of your content, you can achieve this using CSS positioning.

Assign a class to the stars:

Then in your CSS file:

.teacher_info {       
    position: relative;        
}

.stars {   
  position: absolute;  
  left: 0;  
  bottom: 0; 
}

Answer â„–2

To start, apply the classes div.item1 and d-flex flex-column to your element if you're utilizing Bootstrap 4+. If not, simply incorporate the following styles:

display: flex;
flex-direction: column;

Next, include mt-auto to div.teacher_edu_city, or utilize this CSS:

margin-top: auto;

That's all there is to it.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Error in Express Post Request: Headers cannot be modified after being sent to the client

I am a beginner in Node.js and I am facing some challenges while working on an app for learning purposes. I encountered the following issue: Error: Can't render headers after they are sent to the client. I am unsure of how to resolve it. C:\Us ...

Using a personalized SVG file within Material UI's SVG ICON with ease

I have been attempting to utilize a chip with an SVG delete icon. The code for the icon is const icon = (props) => { return ( <SvgIcon> <img src={'ic_check.svg'} style={{width: '20px'}} width={&apos ...

Photo captured by camera is not stored in photo gallery

I am currently working on a basic image upload form that allows users to take photos using their phone camera and upload them. However, I have noticed that the pictures taken this way are not being saved to the gallery. Is there something missing in the H ...

Utilizing inline-block for styling code blocks

I'm attempting to format two blocks with varying lengths using inline-block, but block-1 is getting aligned with the length of block-2. I need to keep the height of block-1 at 100px. Check out this jsfiddle for reference: http://jsfiddle.net/CGHZ5/5 ...

Schema-specific conditions for JSON data

I have been experimenting with the if-then-else statement in JSON, but I am encountering some issues with it. { "type": "object", "minProperties": 2, "maxProperties": 2, "properties": { "human": { "enum": [ "Kids", "Ad ...

Ensuring Contact Form Accuracy with Jquery Validation

I am trying to implement form validation using jQuery. Here is the code I am using: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2 /jquery.min.js"></script> <script type="text/javascript" src=" http:// ...

I'm having trouble with the colors not displaying correctly on my NextJS Tailwind navbar

I've encountered an issue with my navbar where none of the specified colors are being displayed. The code snippet for the navbar is as follows: Codes: 'use client' import Head from 'next/head'; import Link from 'next/link&apo ...

Is the HTML5 video backup image misplaced?

Here is the HTML I created to showcase a video background with two fallback images for mobile and old browsers: <div> <video id="video_background" preload="auto" autoplay="true" loop="loop" muted="muted" volume="0"> <!--<source s ...

The issue of HTML form not displaying within a Java servlet environment

While following a basic tutorial to learn Java servlet programming in Eclipse, I encountered an issue with the browser not rendering the submit button in the HTML form. Despite reviewing the code multiple times, making small modifications, and even double- ...

Utilize JavaScript's Map function to employ generalized keys in an array of objects

I am dealing with an array of objects that looks like this: [ { "job_id": 1, "job_name": "Engineer" }, { "job_id": 2, "job_name": "Scientist" }, ...

Is there a way to immediately view Redash code updates without having to rebuild entire modules each time?

Currently, I am in the process of personalizing a visualization using redash. I have noticed that every time I make a change, I do not see the update right away. In order to see the modifications, I have to run the command npm run build to rebuild the mo ...

The installation of @grpc/grpc-js does not include all necessary dependencies

Recently, I incorporated @grpc/grpc-js into my project using the command npm i @grpc/grpc-js. Surprisingly, there are no compile time errors when I attempt to use it. However, at runtime, a series of errors arise: ./node_modules/.pnpm/@<a href="/cdn-cgi ...

How to select the first column in a jQuery Datatable and turn it into checkboxes

I'm faced with a situation where I need to incorporate a checkbox column in a table, with the checkboxes appearing as Checked or Unchecked based on the values in the first column and its subsequent rows. The challenge lies in dealing with dynamic data ...

When inputting dates manually, the KeyboardDatePicker feature is deducting one day from the selected

When using the datepicker to select a date, everything works fine. However, when manually entering a date and then saving it, the browser ends up posting a different date to the server (only referring to the date part). My time zone is UTC+03. Below is my ...

Is it possible to achieve Bootstrap 3-style for the mobile navbar menu in Bootstrap 4?

In the world of Bootstrap 4 https://i.sstatic.net/bMSOK.png Comparing to Bootstrap 3 https://i.sstatic.net/RVITm.png Seeking to replicate Bootstrap 3's menu in Bootstrap 4? This code snippet showcasing Bootstrap 4's menu can be found at : & ...

The onClick event handler is executed during every rendering process

Initially, my default state is set as follows: this.state = { selectedTab : 'tab1' } When it comes to rendering, this is how I define it: render(){ const { selectedTab } = this.state; return( <li>tab1</li><li>ta ...

What impact does utilizing CSS 3D Transforms have on search engine optimization (SEO)?

Google emphasizes the importance of not hiding content, as it may not be counted by search engines. However, Google Cache has shown some discrepancies in understanding certain elements correctly. It's possible that what Google perceives as hidden migh ...

Prevent screen rotation on any mobile device's browser

Is there a way to lock the screen orientation to landscape for all mobile device browsers when accessing a website? Searching online yields results mainly focused on app development, but I'm interested in achieving this for websites. I've found ...

Utilizing Ember to transmit models to Bootstrap Popovers

Seeking assistance from anyone familiar with utilizing Bootstrap for Ember components to help resolve an issue. I am trying to understand how to pass a model to the component when using {{bs-bind-popover}} <div {{bs-bind-popover templPop}}>Show pop ...

How can I delete cached AJAX POST requests for a web app on the iOS6 home screen?

We are currently facing a significant issue with iOS6 ajax POST request caching in our webApp. After the upgrade, most of our users who have added the app to their home screen are experiencing problems with stale data being retrieved from over 6 days ago. ...