A
A
Alexander Sharomet2018-04-27 14:15:33
css
Alexander Sharomet, 2018-04-27 14:15:33

Why doesn't Font Awesome 5 work in safari on Ios?

Hello.
Why fontAwesome 5 might not work in safari on ios?
I included css

<link rel="stylesheet" href="css/fontawesome-all.min.css" type="text/css">

Works in all browsers but not in safari.
.owl-prev:after,
.owl-next:after {
  font-family: FontAwesome;
  font-size: 2.5rem;
}
.owl-prev:after {
  content: "\f104";
}
.owl-next:after {
  content: "\f105";
}

I added optimizeLegibility (I didn't find such a solution) but it doesn't work for me. What could be the problem? Thanks
text-rendering: optimizeLegibility;
5ae306528a487986325560.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Sharomet, 2018-04-27
@sharomet

Problem solved. I just did not understand why all other browsers work fine with the previous code.
Maybe someone will come in handy)

.owl-prev:after,
.owl-next:after {
  font-family: 'Font Awesome 5 Free';
  font-size: 2.5rem;
  font-weight: 900;
}
.owl-prev:after {
  content: "\f104";
}
.owl-next:after {
  content: "\f105";
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question