Hide part of the content when the screen size shrinks

I want to hide the small icon in front of me, but it will display normally when the screen is enlarged.
this is the code under normal size:
< div class= "container my-1 mw-100" style= "display:inline-block" >

        <i class="fas fa-tag"></i><a href=""class="ml-1"></a>
        <p class="my-2"><i class="fas fa-yen-sign"data-fa-transform="grow-2 right-4"></i><a href=""class="ml-1"></a>

</div>

this is the style set with media query:
/ screen size is smaller than 596px /
@ media (max-width: 575.98px) {
.fas {display: none}
}
but the result still shows
clipboard.png

Mar.17,2021

doesn't understand your needs. The purpose of the media query you write is: when the screen resolution is less than 576px, hide fas, when greater than 576px fas display. So, what effect do you want.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b39d-2c272.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b39d-2c272.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?