Gratis å bruke, uten konto

Skriftkombinasjonsverktøy

Sammenlign overskrifts- og brødtekstskrifter i en levende prøve. Start med systemskrifter eller velg filer fra enheten din; ingenting lastes opp.

Systemskrifter varierer mellom enheter. Valgte skriftfiler forblir i denne nettleseren og bruker minnet dens; verktøyet kan ikke kontrollere lisensen. Ingen skriftkatalog eller eksterne skrifter lastes ned.

Direkte forhåndsvisning av typografi

Design som føles tydelig

En gjennomtenkt skriftkombinasjon gjør en side enklere å skanne. Juster stilene for overskrift og brødtekst, og kopier deretter CSS-koden til prosjektet ditt.

Hvordan forhåndsviser jeg en skrifttypekombinasjon?

Velg en forhåndsinnstilling, eller velg en overskrifts- og brødtekstskrift. Juster deretter størrelser, tykkelser og linjehøyde. Kopier den genererte CSS-koden når eksempelet ser riktig ut.

Veiledning

Slik bruker du Skriftkombinasjonsverktøy

The Font Pairing Tool shows a heading font and a body font together in a live sample, so you can judge how they look side by side. You pick from six ready-made pairings built on common system fonts, change sizes, weights and line height, or load font files from your own device. When the sample looks right, you copy a short block of CSS.

Slik gjør du

  1. Pick a pairing preset, such as Editorial or Technical, and press Apply pairing. You can also choose the heading font and the body font yourself from the two lists.
  2. Use the sliders to set the heading size, body size, heading weight, body weight and body line height. The sample under the controls changes as you move them.
  3. Press Swap fonts to switch the roles of the two fonts, or add WOFF, WOFF2, TTF or OTF files from your device to try them in the sample.
  4. Press Copy CSS to copy the generated rules. Reset returns to the Editorial pairing and removes any fonts you added.

Eksempler

The starting Editorial pairing

Du skriver inn
Forhåndsinnstilling
Editorial
Overskriftstørrelse
48
Brødtekststørrelse
18
Overskriftstykkelse
700
Brødteksttykkelse
400
Linjehøyde
1.6
Du får
CSS
:root { --heading-font: Georgia, "Times New Roman", serif; --body-font: Arial, Helvetica, sans-serif; } h1, h2, h3 { font-family: var(--heading-font); font-size: 48px; font-weight: 700; } body, p { font-family: var(--body-font); font-size: 18px; font-weight: 400; line-height: 1.6; }

These are the values the page starts with. The heading uses a Georgia serif stack and the body uses an Arial sans-serif stack. The line height of 1.6 is written only on the body rule.

Kjørt med verktøyets egen kode.

A smaller Technical pairing

Du skriver inn
Forhåndsinnstilling
Technical
Overskriftstørrelse
36
Brødtekststørrelse
16
Overskriftstykkelse
600
Brødteksttykkelse
400
Linjehøyde
1.5
Du får
CSS
:root { --heading-font: "Courier New", Courier, monospace; --body-font: Arial, Helvetica, sans-serif; } h1, h2, h3 { font-family: var(--heading-font); font-size: 36px; font-weight: 600; } body, p { font-family: var(--body-font); font-size: 16px; font-weight: 400; line-height: 1.5; }

The Technical preset puts a monospace stack on the headings and a sans-serif stack on the body. The sizes and weights come straight from the sliders into the CSS text.

Kjørt med verktøyets egen kode.

A font file that is too large

Du skriver inn
Handling
add font file
Filnavn
display.woff2
Størrelse i MB
6
Du får
Melding
Each font file must be 5 MB or smaller.

A single file over 5 MB is refused with that message. The same check refuses more than 8 files, more than 15 MB in total, and any file that does not end in woff, woff2, ttf or otf. This was checked on the size rule, not with a real font file.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

Når det er nyttig

  • Compare a serif heading with a sans-serif body before you set the type for a small site.
  • Check how a heading weight of 600 or 700 reads against a body weight of 400.
  • Test a font file you already have a licence for, and see it next to a system font.
  • Copy a starting set of CSS custom properties and rules to paste into a project.

Begrensninger

  • The six presets and both lists use system font stacks only, such as Georgia, Arial, Verdana, Trebuchet and Courier. No font catalog is loaded and nothing is downloaded from the web.
  • System fonts differ by device. A visitor may see a different fallback from the one you see, so the sample cannot promise how a page will look elsewhere.
  • If you add your own font, the copied CSS refers to it by an internal name, uv-local-font-1 and so on, and contains no @font-face rule. You must supply the real font file and rule in your own project.
  • Up to 8 files, 5 MB each and 15 MB in total are accepted. The tool cannot check a font's licence, so you must confirm that yourself.

Tips

  • Change one setting at a time, so you can tell which change made the sample easier or harder to read.
  • Look at the sample at the size your readers will really see, and try a long paragraph, not just the heading.
  • Keep a licence note for any font file you load, and confirm it allows the use you plan.

Kilder

Vanlige spørsmål

How do I preview a font pairing?

Choose a preset or pick a heading and a body font, then adjust sizes, weights and line height with the sliders. The live sample updates as you go. When it looks right, press Copy CSS.

Are my font files uploaded anywhere?

No. A file you choose is read in this browser session only and is not sent to a server. Clear added fonts or reset the page to remove it from the session.

Will the copied CSS look the same on every device?

Not always. The built-in options are system fonts, and operating systems ship different fonts. A visitor who does not have your chosen font sees a fallback, so for a fixed look your project must serve a licensed font file.

Can I use my own font files here?

Yes, with WOFF, WOFF2, TTF or OTF files from your device. After a file loads, it appears in both font lists under its file name, and the sample switches to it so you can compare.

Does the tool check font licences or download fonts?

No to both. It does not fetch fonts from the web, and it cannot tell whether a file you choose may be used in a project. Check the licence with the font's provider before you publish.

What does the copied CSS contain?

It holds two custom properties for the heading and body font families, one rule for h1 to h3 with size and weight, and one rule for body and p with size, weight and line height. It is a starting point, not a full style sheet.

Hvordan forhåndsviser jeg en skrifttypekombinasjon?

Velg en forhåndsinnstilling, eller velg en overskrifts- og brødtekstskrift. Juster deretter størrelser, tykkelser og linjehøyde. Kopier den genererte CSS-koden når eksempelet ser riktig ut.

Lastes skriftfilene mine opp?

Nei. En skriftfil du velger, lastes bare inn i denne nettleserøkten. Fjern de ekstra skriftene eller tilbakestill siden for å frigjøre dem.

Kan jeg bruke mine egne skriftfiler?

Ja. Velg WOFF-, WOFF2-, TTF- eller OTF-filer fra enheten din. De lastes bare i denne nettleserøkten og lastes ikke opp. Verktøyet godtar opptil åtte filer, med grense på 5 MB per fil og 15 MB totalt.

Vil CSS-koden se lik ut på alle enheter?

Ikke alltid. Systemskrifter kan variere mellom operativsystemer, og andre besøkende har kanskje ikke skriften du har valgt. For et konsekvent resultat må prosjektet ditt ha en gyldig lisens og selv levere skriften; dette verktøyet er ikke vert for den.

Kontrollerer verktøyet skrifttillatelser eller laster ned skrifter?

Nei. De innebygde kombinasjonene bruker systemskriftlister. Valgfrie filer velger du selv, og de forblir i nettleseren. Kontroller lisensen fra skriftleverandøren før du bruker en skrift i et prosjekt.