What is the best way to ensure my website buttons resize with the changing screen resolution?

There seems to be a slight "issue" on my current website where the buttons disappear when the screen resolution is changed to something smaller. Check out this gif for a better understanding: . How can I make sure that the buttons shrink along with the page so they remain clickable on different screen sizes?

Below is the HTML code for the buttons. The CSS for fab, fa-steam-symbol, fa-discord, etc., comes from https://fontawesome.com/ (in case some are not familiar with it).

 .awrapper{
    align-content:center;
    background-size:cover;
    display:flex;
    display:-ms-flexbox;
    display:-webkit-flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    min-height:100%;
    ms-flex-direction:row;
    ms-flex-line-pack:center;
    ms-flex-pack:center;
    ms-flex-wrap:wrap;
    webkit-align-content:center;
    webkit-flex-direction:row;
    webkit-flex-wrap:wrap;
    webkit-justify-content:center;
}
 .media{
    font-size:30px;
    text-align:center;
padding-top:30px;
}
 .media>a{
    margin-right:80px;
    text-decoration:none;
    transition:color 0.5s ease;
}
 .media>a#vk{
    font-size:35px;
}
 .media>a:last-child{
    margin-right:0;
}
.animated{
    -webkit-animation-duration:2s;
    animation-duration:3s;
    -webkit-animation-fill-mode:both;
    animation-fill-mode:both
margin: 500px
}
@-webkit-keyframes fadeInUpBig{
    from{
        opacity:0;
        -webkit-transform:translate3d(0,2000px,0);
        transform:translate3d(0,2000px,0)
    }
    to{
        opacity:1;
        -webkit-transform:none;
        transform:none
    }
}
@keyframes fadeInUpBig{
    from{
        opacity:0;
        -webkit-transform:translate3d(0,2000px,0);
        transform:translate3d(0,2000px,0)
    }
    to{
        opacity:1;
        -webkit-transform:none;
        transform:none
    }
}
.fadeInUpBig{
    -webkit-animation-name:fadeInUpBig;
    animation-name:fadeInUpBig
}
 .hvr-grow {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
 .hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
    -webkit-transform: scale(2);
    transform: scale(2);
}
<div class="awrapper">
    <div class="media animated fadeInUpBig" style="animation-delay: 5s;">
    <a href="BLNAK_LINK/Steam" target="_blank">
    <i class="fab fa-steam-symbol hvr-grow" title="Steam"></i>
    <a href="BLNAK_LINK/discord" target="_blank">
    <i class="fab fa-discord hvr-grow" title="Discord"></i>
    </a>
    <a href="BLNAK_LINK/hosting" target="_blank">
    <i class="fab fa-ioxhost hvr-grow" title="Hosting"></i>
    </a>
    <a href="BLNAK_LINK/TRADEOFFER" target="_blank">
    <i class="far fa-handshake hvr-grow" title="Tradelink"></i>
    </a>
    <a href="BLNAK_LINK/PLAYLIST" target="_blank">
    <i class="fas fa-music hvr-grow" title="Playlist"></i>
    </a>
    </div> 
    </div>

If you notice anything missing or have any questions, feel free to reach out and I'll do my best to provide answers.

Answer №1

Appreciate the assistance folks! Feel free to take a look at the website and its new design.

I have introduced a fresh class named unmoveable

Modifying it from

<div class="media animated fadeInUpBig" style="animation-delay: 5s;">

To

<div class="media animated fadeInUpBig unmoveable">

Here is the updated CSS

.unmoveable {
    animation-delay: 5s;
    position:fixed;
    bottom: 100px;
}

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

How to align a div with embedded tweets in the center

I am looking to include a series of tweets from Twitter in a div on a basic webpage. The challenge is centering this div horizontally on the page. I have tried using: <div style="text-align:center"> and also: <div style="width: 900px; display ...

Unusual SASS results observed while utilizing extends functionality

Having issues with my SASS files: _android.scss: $width: 111px; @import 'child'; .android .child { @extend %child; } _ios.scss: $width: 999px; @import 'child'; .ios .child { @extend %child; } _child.scss: %child { wi ...

Troubleshooting problems with contenteditable and input in Firefox and Safari on Angular 5

Currently, I am in the process of creating a table with cells that are editable. However, I am facing a challenge in updating the visual and typescript code simultaneously. I have explored various alternatives but unfortunately, none of them seem to work. ...

Apply CSS styling to options specifically in Internet Explorer

How can I style options in a select list using CSS? I have successfully styled the options in Mozilla Firefox, but the styles do not apply in Internet Explorer and Chrome. Here is a jsFiddle link for IE <select class="mapField"> <option valu ...

Creating fluid designs for my boxes with CSS to enhance responsiveness

I have designed my HTML file with 8 boxes that appear correctly on desktop, but when viewed on mobile devices, the columns are misaligned and shifted to the right side instead of being centered. How can I make it more responsive? See Preview Here is the ...

Tips for refreshing only a portion of a webpage using JavaScript/jQuery

I have two distinct navigational sections on my website. The left column has its own navigation menu, while the right column (main content area) contains a separate set of links: My goal is to click on a link in the left-hand sidebar (such as "Resume", "E ...

What is the best way to identify the complete template of an Angular component's CSS without mentioning any specific tags?

Typically, I structure each view with an outer DIV that serves as the foundational background. <div class="outer"> <!-- Content goes in here --> </div> Then, within my SASS file, I apply styles to it like this. div.outer { ... } Thi ...

personalized options for initiating and concluding html audio component

I am currently facing an issue with my html audio element that plays a track. The setup is quite straightforward: <audio controls loop="loop"> <source type="audio/wav" src="song.wav"> </audio> However, I need to create custom start ...

Can you explain the significance of the <%= %> HTML tag?

I've recently been tackling a project with Webpack. For those not familiar, Webpack is a bundler that combines all your files into one final product. One task I encountered was trying to insert one HTML file into another, similar to an import or requ ...

Prevent clicking with the mouse in a specific area of the screen

Is there a way to prevent mouse clicks on my website everywhere except for a specific div in the center? I'm not sure how to achieve this, any ideas? ...

What steps should I take to customize the design of my Stripe subscription payment page?

I am having trouble with the alignment of the subscription payment page, which is currently displaying all information in a single line. I would like to format it like a traditional payment form with card number, CVV, and expiry on separate lines rather th ...

Unlock the innerHTML of a DIV by clicking a button with ng-click in Angular JS

I am curious about something. There is a <div> and a <button> in my code. I am looking to access the inner markup of the <div> within the ng-click function without relying on jQuery. Can you give me some guidance? <div id = text-entry ...

Options for Printing HTML - Explore Different Techniques for Creating HTML Printouts and Weigh the Advantages and Disadvantages

As I work on maintaining an application, I am faced with the task of printing out a report. However, my curiosity extends beyond this assignment as I wonder about the various ways to format an HTML page for optimal printing results and the advantages and d ...

`The height attribute of the textarea element is not being accurately adjusted`

When I tried to match the width(178px) and height(178px) of my table to the width and height of a text area upon clicking a button, I encountered an issue. While setting the width works perfectly fine, the height is being set to only 17px. It seems like ...

Troubleshooting: jQuery's load() function behaving unexpectedly with textarea elements

Is there a way to retrieve user content from a PHP file using the load() function and display it in a textarea? I've noticed that this process works fine when the textarea is empty, but if the user types something in it beforehand, the content won&apo ...

Calculate the sum of two numbers in a Django application and display the result on the same page

I am a beginner in Django and I'm looking to calculate the sum of two numbers, x and y. The values for x and y will be input by the user. Check out my views.py code: from django.shortcuts import render from django.http import HttpResponse def home ...

Alignment of badge-pill and h2 in a horizontal position

I'm currently working on mastering Bootstrap. My goal is to have a prominent heading followed by three small badge-pills that are horizontally centered on the page. However, I've run into a couple of issues: 1- The badge-pills are appearing stac ...

Preventing Mobile Video Downloads: Tips and Tricks

I am facing a challenge with my website that contains several case studies featuring video headers set to autoplay. These videos are placed within a parent div element, which is hidden on mobile and tablet devices. Since the videos will not be visible on ...

Display solely the content within a specific Div

Currently facing an issue that needs to be resolved. I have a number of divs, each of which reveals a Span containing some text when hovered over. I've written a jQuery script for this functionality, but it currently displays all the Span elements whe ...

Troubleshooting issue with Calendar styling in Bootstrap and SimpleCalendar Rails integration

I am having trouble applying styling to my SimpleCalendar in Rails, using the gem. When I render it, this is what I see: https://i.sstatic.net/kJi7m.png Here is the CSS provided by https://github.com/excid3/simple_calendar: .simple-calendar { table { ...