I used the fa
class on codepen like this: <i class = "fa fa-trash"><button class = "btn btn-default">[whatever text]</button></i>
, but it didn’t show. I put the bootstrap <link>
inside of it and the btn
class worked, but the fa
class didn’t work. does anyone know why?
can you post a link to your codepen? I used font awesome without a problem recently on codepen so not sure what you are experiencing…
You should link font-awesome with your codepen, in your codepen settings > HTML > stuff for <head>
inside that place this link, and then try the same code which you have posted,
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
thanks! I’ll try that
that worked! thanks!