I
I
IvanIvanIvanIvanIvan2018-03-04 20:24:55
css
IvanIvanIvanIvanIvan, 2018-03-04 20:24:55

How to make proper shorthand notation of attached font properties?

Dmitrijs Balcers url(' https://fonts.googleapis.com/css?family=Open+Sans:... ');
Added a font. How to correctly write in a short note that this font is 28px in size, Open Sans Regular
And in general, which css property corresponds to Open Sans and which Reaular?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2018-03-04
@IvanIvanIvanIvanIvan

.font{
font: 400 28px 'Open Sans', sans-serif;
}

regular is font-weight: 400;
Light is font-weight: 300;
by default, you can not set regular, but simply write
.font{
font: 28px 'Open Sans', sans-serif;
}

A
Andrew, 2018-03-04
@KickeRockK

Em?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question