Posted in fonts
4310
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
13
This Month
140
This Year
711

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
Treasure every moment that you have and treasure it more because you shared it with someone special, special enough to spend your time...and remember that time waits for no one.
Unknown
Random CSS Property

margin-bottom

The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
margin-bottom css reference