You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using CSS to manipulate an existing FA font, one can't use the content attribute to change/edit the content to include a space. For example, lets say you want to do the following content: " \f101" (notice there's a space before the \f101). That doesn't work. If FA included a space, one could do something like this: content: "\f255\f101" (with 255 being a space, but whatever the number would actually be).
There's a work-around, to use the character '\A0'. However, that's not well known. It could be as simple as using '\A0' with FA instead of adding a new icon. But, that would be up to the FA team. I've run into this problem many times and finally figured found out about the '\A0' trick, but why make it a trick? Just give people a space icon (how hard could that really be?)
Tim
The text was updated successfully, but these errors were encountered:
When using CSS to manipulate an existing FA font, one can't use the content attribute to change/edit the content to include a space. For example, lets say you want to do the following
content: " \f101"
(notice there's a space before the \f101). That doesn't work. If FA included a space, one could do something like this:content: "\f255\f101"
(with 255 being a space, but whatever the number would actually be).There's a work-around, to use the character '\A0'. However, that's not well known. It could be as simple as using '\A0' with FA instead of adding a new icon. But, that would be up to the FA team. I've run into this problem many times and finally figured found out about the '\A0' trick, but why make it a trick? Just give people a space icon (how hard could that really be?)
Tim
The text was updated successfully, but these errors were encountered: