Tutoriel CSS

CSS ACCUEIL Présentation CSS Syntaxe CSS Sélecteurs CSS CSS Comment faire Commentaires CSS Couleurs CSS Arrière-plans CSS Bordures CSS Marges CSS Rembourrage CSS CSS Hauteur/Largeur Modèle de boîte CSS Aperçu CSS Texte CSS Polices CSS Icônes CSS Liens CSS Listes CSS CSS Tables Affichage CSS CSS Max-width Poste CSS Index Z CSS Débordement CSS Flottant CSS Bloc en ligne CSS Alignement CSS Combinateurs CSS Pseudo-classe CSS Pseudo-élément CSS Opacité CSS Barre de navigation CSS Listes déroulantes CSS Galerie d'images CSS Sprites d'image CSS Sélecteurs d'attributs CSS Formulaires CSS Compteurs CSS Mise en page du site Web CSS Unités CSS Spécificité CSS CSS !important Fonctions mathématiques CSS

CSS avancé

Coins arrondis CSS Images de bordure CSS Arrière-plans CSS Couleurs CSS Mots-clés de couleur CSS Dégradés CSS Ombres CSS Effets de texte CSS Polices Web CSS Transformations CSS 2D Transformations 3D CSS Transitions CSS Animation CSS Info-bulles CSS CSS Style Images Réflexion d'image CSS Ajustement d'objet CSS Position d'objet CSS Masquage CSS Boutons CSS Pagination CSS CSS plusieurs colonnes Interface utilisateur CSS Variables CSS Dimensionnement des boîtes CSS Requêtes média CSS Exemples CSS MQ Boîte flexible CSS

CSS réactif

RWD Introduction Fenêtre RWD Affichage de la grille RWD Requêtes multimédia RWD Images RWD Vidéos RWD Cadres RWD Modèles RWD

Grille CSS

Grille d'introduction Conteneur de grille Élément de grille

CSS SASS

Tutoriel SASS

Exemples CSS

Modèles CSS Exemples CSS CSS Quiz Exercices CSS Certificat CSS

Références CSS

Référence CSS Sélecteurs CSS Fonctions CSS Audit de référence CSS Polices sécurisées pour le Web CSS CSS animable Unités CSS Convertisseur CSS PX-EM Couleurs CSS Valeurs de couleur CSS Valeurs CSS par défaut Prise en charge du navigateur CSS

Excellentes associations de polices CSS


De bons appariements de polices sont essentiels à un bon design.


Règles d'appariement des polices

Voici quelques règles de base pour créer de superbes associations de polices :

1. Complément

Il est toujours sûr de trouver des paires de polices qui se complètent.

Une bonne combinaison de polices doit s'harmoniser, sans être trop similaire ou trop différente.

2. Utilisez les superfamilles de polices

Une superfamille de polices est un ensemble de polices conçues pour bien fonctionner ensemble. Ainsi, l'utilisation de différentes polices au sein de la même superfamille est sans danger.

Par exemple, la superfamille Lucida contient les polices suivantes : Lucida Sans, Lucida Serif, Lucida Typewriter Sans, Lucida Typewriter Serif et Lucida Math.

3. Le contraste est roi

Deux polices trop similaires seront souvent en conflit. Cependant, les contrastes, bien faits, font ressortir le meilleur de chaque police.

Exemple : combiner serif avec sans serif est une combinaison bien connue.

Une superfamille forte comprend à la fois des variantes avec et sans empattement de la même police (par exemple, Lucida et Lucida Sans).

4. Choisissez un seul patron

Une police devrait être le patron. Cela établit une hiérarchie pour les polices de votre page. Ceci peut être réalisé en faisant varier la taille, le poids et la couleur.

Exemple

Nul doute que "Georgia" est le patron ici :

body {
  background-color: black;
  font-family: Verdana, sans-serif;
  font-size: 16px;
  color: gray;
}

h1 {
  font-family: Georgia, serif;
  font-size: 60px;
  color: white;
}

Ci-dessous, nous avons montré quelques associations de polices populaires qui conviendront à de nombreuses marques et contextes.



Géorgie et Verdana

Georgia et Verdana est une combinaison classique. Il respecte également les normes de police sécurisées pour le Web :

Exemple

Utilisez la police "Georgia" pour les titres et "Verdana" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.


Helvetica et Garamond

Helvetica et Garamond est une autre combinaison classique qui utilise des polices sécurisées pour le Web :

Exemple

Utilisez la police "Helvetica" pour les titres et "Garamond" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.


Associations de polices Google populaires

Si vous ne souhaitez pas utiliser de polices standard en HTML, vous pouvez utiliser Google Fonts.

Les polices Google sont gratuites et proposent plus de 1 000 polices.

Vous trouverez ci-dessous quelques paires de polices Web Google populaires.


Merriweather et Open Sans

Exemple

Utilisez la police "Merriweather" pour les titres et "Open Sans" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.


Ubuntu et Lora

Exemple

Utilisez la police "Ubuntu" pour les titres et "Lora" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.


Abril Fatface et Poppins

Exemple

Utilisez la police "Abril Fatface" pour les titres et "Poppins" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.


Cinzel et Fauna One

Exemple

Utilisez la police "Cinzel" pour les titres et "Fauna One" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.


Mountain One et Libre Baskerville

Exemple

Utilisez la police "Fjalla One" pour les titres et "Libre Baskerville" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.


Espace Mono et Multi

Exemple

Utilisez la police "Space Mono" pour les titres et "Muli" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.


Spectral et Rubik

Exemple

Utilisez la police "Spectral" pour les titres et "Rubik" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.


Oswald et Noto Sans

Exemple

Utilisez la police "Oswald" pour les titres et "Noto Sans" pour le texte :

Beautiful Norway

Norway has a total area of 385,252 square kilometers and a population of 5,438,657 (December 2020). Norway is bordered by Sweden, Finland and Russia to the north-east, and the Skagerrak to the south, with Denmark on the other side.

Norway has beautiful mountains, glaciers and stunning fjords. Oslo, the capital, is a city of green spaces and museums. Bergen, with colorful wooden houses, is the starting point for cruises to the dramatic Sognefjord. Norway is also known for fishing, hiking and skiing.

Pour obtenir une liste de toutes les polices Google gratuites, consultez notre didacticiel sur les polices Google .