Jonathan Levaillant (@jlwebart) header
Jonathan Levaillant (@jlwebart) profile picture

Intégrateur / Développeur Front-End - JoliCode - Passionné de CSS

Angers
Joined March 2013
Jonathan Levaillant retweeted
Vous vous demandez ce que signifie ce bout de CSS ? 🤔 .button { background-color: hsl(from var(--brand-color) h s 41%); } Il est temps de vous mettre à jour 🎉 avec le dernier article de Jonathan sur les couleurs relatives en CSS ! 🆕 📜 jolicode.com/blog/les-couleu…
1
11
542
Jonathan Levaillant retweeted
CSS Relative colors are incredibly helpful! I'm currently doing a writeup about my learnings and enjoying it so far. 🎨
1
2
44
2,204
Jonathan Levaillant retweeted
En collaboration avec la société new-yorkaise Ode à la Rose, nous avons travaillé sur la refonte de leur plateforme eCommerce en mettant l’accent sur la performance et la gestion des pics de trafic. jolicode.com/nos-clients/ode… Kudos @redirectionio @digitalpingpong 👏
2
1
13
1,024
Jonathan Levaillant retweeted
Super simple scroll-driven progressive enhancement: animate in your images 🩷 @​keyframes appear { from { opacity: 0; scale: 0.8; } to { opacity: 1; scale: 1; } } img { animation: appear linear both; animation-timeline: view(); animation-range: entry 25% cover 50%; }
14
148
16
1,409
122,007
Dîner speakers #Symfony_Live, so happy to share the excitement!
3
8
67
4,426
Jonathan Levaillant retweeted
🎙️Pour Grégoire Pineau (@lyrixx), DevOps @JoliCode, le choix d'une archi micro-service dépend du nombre de dev dans une équipe ! ➡️Rdv sur ifttd.io #Podcast #ifttd #Dev #php #Symfony
3
14
48
3,581
Jonathan Levaillant retweeted
Avant son talk intitulé "Les chaînes de caractères 101", c'est au tour de @MarionHerisson de répondre à notre interview du jour, où elle nous dit notamment tout le bien qu'elle pense d'UTF-8 ! Rendez-vous à l'AFUP Day 2024 Poitiers pour en savoir plus ! event.afup.org/afupday2024-i…
3
1
13
2,105
Jonathan Levaillant retweeted
Vous en avez marre de faire ce genre de diff a la main ? Moi aussi ! Découvrez comment automatiser ça avec @rectorphp 😍 jolicode.com/blog/comment-ec…
13
28
3,977
Jonathan Levaillant retweeted
2024 CSS Reset
47
341
28
3,296
830,901
Jonathan Levaillant retweeted
Si votre site dispose d'un en-tête collant, vos liens d'ancrage doivent le prendre en compte 💯 Aujourd'hui sur le blog, Agnieszka vous présente la bonne pratique actuelle pour décaler le scroll correctement et rendre votre cible lisible ! 🆕 jolicode.com/blog/comment-fa… #css #tip
5
10
1,341
Jonathan Levaillant retweeted
🔥 As of today, CSS :has() is now supported in every browser! This is a next-level selector that opens up a ton of new possibilities. Here are 10 hot tips for using CSS :has() Details of each below
38
553
53
2,946
299,927
Jonathan Levaillant retweeted
🎁 Day 2... Tailwind CSS v3.4 is out! 🥳 🍬 Dynamic viewport units 🍩 `:has()` support 🧁 Direct children variant 🍰 New `size-*` utilities 🍪 Balancing with `text-wrap` 🍭 Subgrid utilities ...and more ✨ tailwindcss.com/blog/tailwin…
82
399
102
2,783
269,160
Jonathan Levaillant retweeted
Hear me out.
80
96
59
1,790
533,942
Jonathan Levaillant retweeted
CSS Tip! ⭐️ You can use the lh (line-height) unit on background layers to emphasize multiple lines of text responsively without extra elements! ⚡️ h1 { background: linear-gradient(white, white), grey; background-size: 100% calc(var(--lines) * 1lh), 100% 100%; background-clip: text; color: transparent; } Here you emphasize the first two lines of the heading with white using a sized background-image layer It has a size of 2lh ✨ Then the rest of the element is colored with whatever other colors you want to use as layers. If you watch the video, you can see different colors used for different lines and then fade it out if you wish. You could do whatever you like with it 😎 Neat part is that it's responsive. The font-size is set with a clamp and you can resize the viewport or the element and the number of lines emphasized will remain 🤙 Last but not least, make sure to use background-clip: text and color: transparent so the background shines through 🔥 Also, note that if you're only looking to highlight the first line, you can still use the :first-line pseudo 🫶 Have a play with it and see what you can come up with! @CodePen link below! 👇
Gecko: Intent to Prototype & Ship: Line-height Units (lh, rlh) groups.google.com/a/mozilla.…
10
94
7
983
413,870
Jonathan Levaillant retweeted
“An Interactive Guide to CSS Grid” : la documentation ultime et interactive sur Grid Layout vient de sortir et on vous la conseille ! joshwcomeau.com/css/interact…
3
20
2,482
Jonathan Levaillant retweeted
Tous les ans, nous consacrons une journée à des projets DIY/bricolage et création artistique 🎨🎉 Cette année, nous avons fait de la menuiserie, des tatouages, de l'impression 3D, de l'IA et des perles 👌 Découvrez nos divers talents sur le blog ! → jolicode.com/blog/des-copeau…
7
1
12
1,592