M
M
mletov2015-12-01 13:07:39
css
mletov, 2015-12-01 13:07:39

How to set font weight in css selector by condition?

Please tell me if css supports something like this

.selector
{
      font-family:FontName1 regular, FontName2 bold, FontName3 bold italic...и т д;
}

That is, if a person does not have a FontName1 font in the system, FontName2 would be used, but already with boldness.
Or only through fontsquirell to generate fonts with each style?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Khokhlov, 2015-12-01
@mletov

No, this is not supported.
Use system fonts , or include your own with @font-face.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question