In conjunction with the content property, this pseudo-element is used.
En même temps que la propriété contente, cet pseudo-élément est employé.
The:hover pseudo-class can be applied to any pseudo-element.
La pseudo-classe :hover peut être appliquée à n'importe quel pseudo-élément.
The::first-line pseudo-element describes the first formatted line of an element.
Le pseudo-élément ::first-line décrit la première ligne formatée d'un élément.
The::first-letter pseudo-element can be attached to all elements.
Le pseudo-élément ::first-letter peut être attaché à tout élément.
It does match a pseudo-element that conforming user agents will insert at the beginning of every paragraph.
Celui-ci correspond en fait à un pseudo-élément que l'agent utilisateur conforme va insérer au début de chaque paragraphe.
In this post we'll use a pseudo-element to add a little visual flair to a button.
Dans cet article, je vais utiliser un pseudo-élément pour ajouter une touche d'élégance à un bouton.
For this example we'll use a pseudo-element to create a shiny effect on hovering over a button.
Pour cet exemple, nous utiliserons un pseudo-élément afin de créer un effet de reflet au moment du survol du bouton.
A pseudo-element is then added that has similar dimensions, and the white border
Un pseudo-élément est ensuite ajouté, avec les mêmes dimensions, et la bordure blanche
I've added this property so that the absolutely positioned pseudo-element will exist within the button.
J'ai ajouté cette propriété afin que le pseudo-élément positionné absolument puisse exister à l'intérieur du bouton.
The pseudo-element is then inserted within your element, between the element and any content.
Le pseudo-élément est alors inséré à l'intérieur de votre élément, entre l'élément et tout autre contenu.
The:first-line pseudo-element is similar to an inline-level element, but with certain restrictions.
Le pseudo-élément :first-line est similaire à un élément de type en-ligne, avec certaines restrictions.
Now a pseudo-element is prefixed with two colon characters, and a pseudo-class is still prefixed with a single colon.
Désormais, un pseudo-élément est précédé de deux caractères deux-points, et une pseudo-classe d'un seul.
To enhance the appearance of first-line in the paragraph, this pseudo-element is mostly used with paragraph elements.
Pour améliorer l'aspect de principal dans le paragraphe, cet pseudo-élément est la plupart du temps employé avec des éléments de paragraphe.