i think i might have a really bad situation, as i cannot think of anything myself. I have a css file with fonts and i need for each font to display the icon and the name of icon.
[class^="Test-Related-"], [class*=" Test-Related-"] {
font-family: $test-related;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
justify-content: center;
display: flex;
height: 100%;
align-items: center;
}
.Test-Related-mobile::before {
content: "\e000";
}
.Test-Related-laptop3::before {
content: "\e31d";
}
.Test-Related-desktop2::before {
content: "\e31e";
}
this is the code i have in css, only i have arround 4000 more icons, is there a way to display them all with foreach loop on webpage ?