From 56a7b80f1797eece9a3e3bade113c4f648f231b7 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 14 Oct 2023 17:58:14 +0200 Subject: [PATCH] ON POINT --- static/js/index.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index 3ab4e20..e2a8306 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -13,8 +13,16 @@ window.addEventListener("load", () => { new Tag("/api/v1/love", "font-family: monospace"), new Tag("Étudiant qui va rater son master"), new Tag("Peak D2 sur Valo 🤡"), - new Tag("1312"), - new Tag("Nul en CSS", "font-family: cursive"), + new Tag( + "1312", + ` + display: inline-block; + background: linear-gradient(to bottom right, red 0%, red 50%, black 50%); + background-clip: text; + color: transparent; + ` + ), + new Tag("Nul en CSS", "font-family: 'Comic Sans MS', cursive"), ]; const random = Math.round(Math.random() * (tags.length - 1));