Posted in fonts
6011
4:58 am, September 19, 2022
 

font quick embed inter all styles google font

For some reason every time I go into google fonts website it seems to get more and more complex, i dont really care too much about all the font details i just want the embed link! Anyway... Maybe im getting old. 

Here is the quick embed code for all font weights and styles of the google font inter or Inter even...

Just pick the @import to add to the css or the html and css versions of this you only need one not both. 

keywords: inter font, inter embed, inter quick font embed

HTML

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">

<!-- Testing Only... -->
<h1 class="inter">A Test Title for the font Inter</h1>
<p class="inter">A Test Paragraph for the font Inter</p>

CSS

<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
.inter {
	font-family: 'Inter', sans-serif;
}
</style>

A Test Title for the font Inter

A Test Paragraph for the font Inter

View Statistics
This Week
244
This Month
823
This Year
2412

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
For a long time it had seemed to me that life was about to begin - real life. But there was always some obstacle in the way, something to be gotten through first, some unfinished business, time still to be served, or a debt to be paid. Then life would begin. At last it dawned on me that these obstacles were my life.
Alfred D. Souza
Random CSS Property

border-inline

The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet.
border-inline css reference