Skip to content

Instantly share code, notes, and snippets.

@ktzanev
Last active March 12, 2017 11:18
Show Gist options
  • Save ktzanev/e784220e0939493d0d13af66516ff0ec to your computer and use it in GitHub Desktop.
Save ktzanev/e784220e0939493d0d13af66516ff0ec to your computer and use it in GitHub Desktop.
Pseudo-éléments (GistRun)
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<p>
Selon <em>Le Guide</em> du voyageur galactique, des chercheurs d'un peuple hyper-intelligent et pan-dimensionnel construisirent le deuxième plus grand ordinateur de tous les temps, Pensées Profondes, pour calculer la réponse à la grande question sur la vie, l'univers et le reste. Après sept millions et demi d'années à réfléchir à la question, Pensées Profondes fournit enfin la réponse : 42.
</p>
</body>
</html>
p::first-letter {
font-size:3em;
color:red;
text-decoration: none;
}
p:hover::before{
content: ":)";
color: green;
font-size:3em;
}
p::selection {
color: gold;
background: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment