icons
How to use custom .png-Images instead of mat-icons for a button?
I have implemented two buttons in my Angular application, with which the user can change the displayed language. Now, instead of the two buttons with “German” & “English”, I want to use two icons with the respective country flag. First I tried it with the “Mat-Icons”, unfortunately there are no suitable icons for my use case. Therefore I downloaded two .png files with the respective country flags from Flaticon, saved them in /assets/icons and would now like to integrate these instead of the mat icons. Unfortunately, I just can’t get this to work at all and would therefore appreciate some help – thanks!
Angular – IBM Carbon icons not showing
I am using the Angular implementation of the IBM Carbon Design and IBM icons are not showing in some contexts.
How to make minus icon disappear using for in loop
When click on save button function myfunc2 will be exceuted which use a for in loop to iterate the minus array. This array conatain all the minus icon. i set style.display = ‘none’ and expect when i click the save button the icon will disappear, but it didn’t work. i dont know what went wrong
How to change color of link and icon when isActive?
I have icon
inside Link
tag in my React component. I would like when Link is active to change the color of icon also. According to the code written below, when the link is active, the color of the icon also changes. But when I set the color of the icon in its css, the color of the icon no longer changes when the link is active. How would I change that?
Some Bootstrap 5 icons are not showing up
I am having issues with bootstrap 5 not showing certain icons. The bi-search shows perfect, but bi-send does not appear at all. I would normally put this in a code snippet, but the feature does not look to be available anymore so bear with me as I post the html that replicates this issue:
How to make an icon visible only if it is hovered in angular 10
I’ve just started working on Angular and I don’t know most of the concepts as for now.
How do I fix a sticky social icon that is not showing?
I am making my icons sticky. It’s working perfectly in the index.html, however, the WhatsApp icon is not showing on other pages. I have tried to add a z-index in case it is hiding behind some other page elements but that hasn’t worked out.
Display font awesome icons in php if clause
I want to display font awesome icons depending on a condition of two php variable. For example if($a > $b) display an arrow up icon else an arrow down icon. Thanks in advance. Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the … Read more
Put icon inside input element in a form
How do I put an icon inside a form’s input element?