Tag: typography

  • Font Face CSS – How to use Google Fonts in CSS

    Font Face CSS – How to use Google Fonts in CSS

    Learn how to use Google Fonts in CSS and downloaded fonts with the use of @font-face Font Face CSS at-rule. There is only a bunch of fonts which we can consider generally Web-safe. By Web-safe I mean fonts that you can be moderately confident your users have. These include Arial and Times New Roman on…

    Read More

  • Limit the number of lines with CSS-only | line-clamp

    Limit the number of lines with CSS-only | line-clamp

    Every now and then, my Clients want me to implement a card-based layout for a list of posts, reports or real estates. In this layout, each card has an image, heading and some text. This looks perfect on the designs, where the text is the same size on all cards. However, when the real content…

    Read More