What is the best way to customize the columns of a Bootstrap card?

Utilizing the card-columns class from Bootstrap 4 to create a page for my portfolio. Everything is functioning well, but I desire to enhance the appearance to make it more appealing.

https://i.sstatic.net/pJTxS.jpg

This is the current design I have implemented. My goal is to ensure that the card labeled Other Projects (same width as Latest Projects) remains below Latest Projects, with the card positioned underneath Other Projects in its own column and then displaying Skills.

<div class="card-columns">
        <div class="card">
            <div class="card-body">
                <h3 class="card-title">About Me</h3>
                <hr>
                <div class="card-text">
                    <ul>
                        <li><b>Languages:</b> Python, JAVA, C</li>
                        <li><b>Frameworks:</b> Bootstrap (Frontend), Flask, Django, OpenCV</li>
                        <li><b>Database:</b> MySQL, MS SQL Server</li>
                        <li><b>Tools:</b> MySQL Workbench, Git</li>
                        <li><b>Editors Used:</b> Visual Studio Code, Sublime Text, Vim</li>
                        <li><b>Operating Systems:</b> Linux (Ubuntu), Windows</li>
                        <li><b>Total Experience: </b>Freshers</li>
                        <li><b>Current Employer: </b>Student</li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="card p-3">
            // Latest Projects Card Here
        </div>
        <div class="card p-3">
            // Other Projects Card Here
        </div>
        <div class="card p-3">
            // Contact Information Card Here
        </div>
    </div>
    

The above HTML structure outlines the placement of the different cards on the page layout.

.card-columns {
        column-count: 2 !important;
        position: relative;
        top: 10%;
        transform: translateY(10%);
        -moz-transform: translateY(10%);
    }
    

These are the CSS modifications I made to split the layout into two columns using the card-columns class.

Your assistance in enhancing the appearance and layout will be greatly appreciated.

Answer №1

If you want to enhance the layout, consider utilizing Bootstrap components:

<div class="card p-3 col-12">
<div class="card-body">
<h3 class="card-title">Other Projects</h3>

...

</div>
</div>

To create a full-width section located below the Latest Project, simply wrap the "card-body" div with col-6 for a wider appearance.

Check out this comprehensive list of Bootstrap features to explore more options:

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

What is the best way to emphasize searched queries on a Django template's result page?

In my views.py file, I have the following search query: class SearchView(View): def get(self, request, *args, **kwargs): queryset = BlogPost.objects.all() query = request.GET.get('q') if query: queryset = ...

Having trouble with the CSS content Property in Firefox?

My current project involves implementing a feature where a close button (in the form of an 'x' character) appears in the search box after a user enters a search term, allowing them to clear the contents easily. This functionality is working smoo ...

Troubleshooting problem with Angular ngx-bootstrap datepicker positioning on mobile devices

Having an issue with ngx-bootstrap/datepicker, it works fine on larger screens but not on mobile screens. Any assistance would be appreciated. https://i.sstatic.net/ZGdyQ.png When the screen size is reduced to mobile (even on actual mobile devices), it o ...

Ensure that the content inside the centrally aligned div is also aligned at the

Looking for a way to center a box on a website I'm designing? Instead of aligning it based on existing centering, use the following HTML / CSS code to ensure that the white box is perfectly centered on the page. .loading { position: fixed; z-in ...

Creating a Sleek Horizontal Scroll Functionality for Multiple Rows with Bootstrap 5

The container allows scrolling for only half of its content. Afterwards, scrolling affects the navigation panel as well. CSS: .horizontal-scrollable { overflow-x: auto; white-space: nowrap; } HTML: <div class="container hori ...

Ways to expand the dimensions of a Popup while including text

I am using a bootstrap modal popup that contains a Treeview control in the body. The issue arises when the node's text width exceeds the popup's width, causing the text to overflow outside of the popup. Is there a way to dynamically adjust the ...

What is the best way to deactivate a submit button while an AJAX request is underway, and then reactivate it once a successful AJAX response is

I am working with the following HTML code: <form action="view_rebate_master.php" method="post"> <div class="form-group"> <label for="company_name" class="col-lg-12">Manufacturer</label> <div class="col-lg-12"> ...

Troubleshooting Django Templateview: Incorporating Bootstrap Popovers into HTML tables not functioning properly

https://i.stack.imgur.com/LXHJF.pngWhen loading this template, the HTML renders correctly and the table loads successfully. However, certain cells have special pop-over attributes that do not work after the HTML is loaded via an AJAX request on the same pa ...

Guide on incorporating a rating and review feature into your Windows 8 store app with JavaScript and HTML

Looking for assistance on integrating a rate and review feature into a Windows 8 store app using javascript and html. Specifically, I would like to add this option to both the charm settings and the app bar. When a user clicks on it, they should be directe ...

Arranging arrows strategically along a line and ensuring they are positioned correctly above all div elements

I'm really struggling with this issue. I have a situation where I need to center a downward pointing arrow within some divs. It should be positioned in the middle, on a brown line, and on top of everything else. The last div should also include the a ...

Placing text alongside an image at the top of the page

Here's the HTML code generated by JSF: <div align="center"> <img src="images/background_image.jpg" height="200px" width="30%" style="vertical-align: top"/> <span style=""> Welcome abc, <input type= ...

Animating two elements on scroll at specific point with speed problem

Trying to create an animation with two different images once a user reaches a specific point on the page. The animation works, but there is an issue when using a trackpad - the movement appears slow compared to scrolling with a mouse. I've already att ...

How to automatically close a Bootstrap modal after submitting a form

I am facing an issue with a Bootstrap modal dialog that contains a form. The problem is that when I click the submit button, the form is successfully submitted but the modal dialog does not close. Here is the HTML code: <div class="modal fade" ...

"Adding a touch of magic to your website with hover effects

I need help with creating a hover effect on my website similar to the one seen here: ...

Sort the parent by the number present in the child item using jQuery

Is there a way to rearrange a list of items based on a specific number within each item? Consider the following HTML structure that cannot be modified: <ul id="ul-list"> <li> <div class="name">product 1</div> & ...

Is there a substitute for bootstrap select in Rails?

In order to style select tags with Bootstrap, we had to utilize the gem: bootstrap-select However, due to the high volume of options in our data-heavy application, the select dropdowns are causing significant slowdown (loading times, drop down performance ...

The process of overriding CSS applied through JavaScript

I am using a third-party multi-select dropdown. Similar to Select2, the multi-select dropdown is created using JQuery with select2.min.js and the width of the dropdown is automatically calculated. Is there any way to apply static width to it, as I believe ...

Bootstrap design featuring text column alongside a full-height image

I'm struggling to achieve a simple layout with Bootstrap (4.3.1). Although it looks right, the CSS isn't working as expected. My goal is to have an image that covers the entire width and height of the col-xs-4 column with a fixed position so it ...

VUE3 - Trigger Bootstrap Modal with Image Click on Multiple Pages/Components Without the Use of JQuery

Attempting to integrate VUE3 and Bootstrap for the purpose of opening a Modal upon clicking one of two images. I have organized my project into 3 Components: Left DIV (Image) Right DIV (Image) Modal While successful in operating this feature on a Singlep ...

Adding additional text within the paragraph will result in the images shifting backwards when utilizing flexbox

It seems like there might be something obvious that I'm missing here, but essentially my goal is to create a footer with 2 columns and 2 rows. In each column, there will be an icon (32x32) and 2 lines of text next to it. The issue I'm facing is ...