In my pages, I have several links like the following:
<a href="/Home/Index" class="btn-sm btn-success" role="button">
<i class="glyphicon glyphicon-home"></i> Home
</a>
It shows an icon in front of text that, when clicked, redirects to a path.
I would like, depending on the size of the screen, this text to appear or not to appear, in this case, keeping only the icon.
What is the best practice to do this via CSS?