How empty space killed the functionality of a corporate app
Spacious. Minimalist. Clean. A large amount of empty space has become a classic technique when designing applications for consumers. And it's not that I hate this trend. Effective use of…

Continue reading →

What is a corporate website | business site?
The phrase: "Office is the face of the company" is known by everyone, so: a corporate website is the second face of the company after the office for local firms,…

Continue reading →

Nordic UX: how minimalism looks Scandinavian
Scandinavia has never been known for luxurious forms. The same sentence is true when it comes to UX – the basis of everything is minimalism. Minimalism is a "calming" solution…

Continue reading →

Custom font for the site. @font-face

Recently, we published an article — Cufon-custom font on the site, in which I talked about ways to use non-standard fonts on the site, today we will consider the second method-the css @font-face parameter .

The main advantage of @font-face over cufon is that the text translated into a non-standard font can be highlighted and you do not need to wait for the script to load in order for the text to be transferred to the appropriate font.

Specify the path to the font in the src property.

the correct code for using @ font-face is as follows:

@font-face {font-family: MyriadProCond; src: url(‘MyriadPro-Cond.otf’);
src: url(‘myriadpro-cond-web.html’); src: url(‘myriadpro-cond-webd41d. eot?’) format(‘â?º’),
url(‘myriadpro-cond-web.woff’) format(‘woff’), url (‘myriadpro-cond-web.ttf’) format (‘truetype’),
url(‘myriadpro-cond-web.svg#MyriadProCondensed’) format (‘svg’);}
In a specific example, we enabled the myriadprocond font. The @font-face parameter is set once. In the future, in order to assign the myriadprocond font to an object, you just need to call it with the font-family parameter

font-family: MyriadProCond;

If we look at the code in more detail, we see that to connect a font, you need to set the path to several versions of it in different formats. The use of formats .otf, .eot, .woff, .ttf, and .svg will provide us with maximum cross-browser compatibility.

To get a font in all these formats, you need to convert it. The Font Squirrel service is the best way to do This — www.fontsquirrel.com

Custom font for the site. @font-face

We need to go to the @font-face Generator tab and click on the AddFonts button, select the desired font, then, preferably, select the Expert parameter and select the necessary parameters for You.

If you need Cyrillic support, for the parameter Subsetting: select the Custom Subsetting option… and put a check mark next to Cyrillic.

We agree to the terms of use — put a check mark next to Agreement: and click on the Download Your Kit button.

At the output, we will get an archive with fonts and Html files, where their use is clearly shown.

Connect everything in css and you’re done! We use it with pleasure 🙂

” There is a little rotten finger everywhere": Yevgeny Kudryavchenko on what the selling site should be like
As soon as marketers began to directly influence what happens to the brand's website that they promote, the real chaos began. In their attempts to attract more users, increase conversion,…

...

52 web design tools that will improve your performance in 2020 (p2)
23. Canva Canva is a popular tool for quickly creating images and infographics for social networks Do you want to quickly and easily create infographics for social networks? Then Lawrence…

...

How empty space killed the functionality of a corporate app
Spacious. Minimalist. Clean. A large amount of empty space has become a classic technique when designing applications for consumers. And it's not that I hate this trend. Effective use of…

...

3 cool ideas to make CAPTCHA less annoying
Do you like captcha? You don't need to be a clairvoyant to know that the answer is no. However, as an understanding web designer or developer, you know that this…

...