J'ai arrêté mon abonnement GitHub Copilot pour le remplacer par un outil encore meilleur.
Oui il y a :
• Plus rapide
• Plus pertinent
• Plus efficace
Que Copilot...
Les jeux de codage sont le meilleur moyen d’apprendre à coder.
Du CSS, Python, JavaScript à la Blockchain.
Et codeur est l’un des métiers les mieux payer au mondes
Voici 10 des MEILLEURS jeux en ligne pour apprendre le codage en 2024 :
CSS Tip! 🎠
You can create a responsive infinite marquee animation with container queries and no duplicate items 🤙
li{ animation: slide; }
@keyframes slide {
to { translate: 0% calc(var(--i) * -100%);}}
The trick is animating the items, not the list 😎
More tricks 👇
To get this one working, you need to animate the items and not the list (Watch the video first?). Each item needs to know its row index (--i) in the list and the parent needs to know how many rows are in the list:
ul { --count: 12; }
li:nth-of-type(1),
li:nth-of-type(2) { --i: 0; }
li:nth-of-type(3),
li:nth-of-type(4) { --i: 1; }
Once you have that, translate each item based on its row index in the list
li {
translate: 0% calc((var(--count) - var(--i)) * 100%);
}
Now for the animation. The key here is that each row has an animation-delay calculated from its index (--i). That number is offset to make it negative so the animation start is offset ✨
ul { --duration: 10s; }
li {
--delay:
calc((var(--duration) / var(--count)) * (var(--i) - 8));
animation:
slide var(--duration) var(--delay) infinite linear;
}
Make sure to wrap that animation in:
@media (prefers-reduced-motion: no-preference) { ... }
Lastly, the fun parts! 🤓
To create the "vignette" mask. Use a layered mask on the container 😷
.scene {
--buff: 3rem;
height: 100%;
width: 100%;
mask:
linear-gradient(transparent, white var(--buff) calc(100% - var(--buff)), transparent),
linear-gradient(90deg, transparent, white var(--buff) calc(100% - var(--buff)), transparent);
mask-composite: intersect;
}
To create the 3D skewed effect, use a chained transform (Try toggling it in the demo ⚡️):
.grid {
transform:
rotateX(20deg)
rotateZ(-20deg)
skewX(20deg);
}
As for the responsive part, use container queries! 🔥
article { container-type: inline-size; }
When the article (card) is narrower than 400px update the grid and animation settings 🤙 Double the rows means double the duration!
@container (width < 400px) {
.grid {
--count: 12;
grid-template-columns: 1fr;
}
li:nth-of-type(1) { --i: 0; }
li:nth-of-type(2) { --i: 1; }
li:nth-of-type(3) { --i: 2; }
li:nth-of-type(4) { --i: 3; }
li {
--duration: 20s;
}
}
CSS has the magic to be able to update those animations at runtime based on your custom property values 😎
An added bonus in this demo is that it doesn't require any JavaScript at all, for any of it 🤯 We can use CSS :has() for those toggles that update the styles, even the theme toggle! 🫶
Any questions, let me know! Make sure to check out the video. Will do a walkthrough one to follow-up 🤙
@CodePen link below! 👇
Pour ceux qui souhaite apprendre TypeScript je vous conseille très fortement d'essayer typehero.dev ! ça vous permet de vous entrainer à TypeScript autour de challenge plus ou moins complexe !
ils ont même un evènement "advent of TypeScript" actuellement pour s'entrainer tous les jours qui est très sympa pour ceux qui souhaite !
ma meilleur découverte côté font qui regroupe pleins de police libre de droit très design qu'on retrouve sur des sites de créative codeur ou encore sur Awwwards c'est freefaces.gallery🤯
Une vraie petite pépite a bookmark absoluement pour des futurs projets
Tu galères à trouver des polices ? Ou des couleurs 🤔 ?
Arrête-toi.
Voici un site qui a tout changé et te permet de tester et trouver LA couleur parfaite pour ton site ✅
Bien mieux que cette (m****) de Coolors !
Je te présente "RealTimeColors" 👇
Erik implemented a major update on his fantastic color generator - UI Colors:
✢ Lock the input color
✢ Generate & edit color scale on the same page
✢ Shift hues with a slider
✢ Save custom color scales
uicolors.app/create
via @erikdevries_nl
Je viens de trouver une vraie pépite 🔱
Des milliers de codes à copier-coller, que ce soit en Tailwind ou CSS, avec des boutons, des cases à cocher, des cartes, etc. 💎
De quoi gagner des heures ❤️
J'ai découvert le meilleur site pour apprendre le SEO ! C est GRATUIT et en plus ils partagent même des outils !
Ça s'appelle learningseo.io c est très bien fait sous forme de roadmap pour les débutants c'est nickel !
J'ai découvert un site qui regroupe 95% des animations CSS que tu aimerais faire sur un site ! Tout est paramétrable et tu as directement accès au code CSS 👀
Ça s'appelle webcode.tools/generators/css… et c'est idéal même pour apprendre certains concepts sur les keyframes simplement !
Ce site te permet de tester tes couleurs, font et design système directement sur un "vrai site" 🤗
Pas besoin de perdre du temps sur Figma, fais-le directement sur realtimecolors.com ✅
Une vraie pépite 💎
Greatest Web Design Inspiration!
I found insane collections of the best portfolios and landing pages, all for free.
Here are 7 biggest websites to inspire your design (GENIUS) ⬇:
10K Followers 584 FollowingJoueur/Streamer de Poker Bio #Sponsorisé par @Winamax ! Partenaire https://t.co/7LsFMGxFD7 - [email protected] - https://t.co/oD5u4O5azJ
17K Followers 24 FollowingTwitter francophone officiel du MMO #DOFUSRetro, par #Ankama : suivez toute l'actualité du jeu !
@DOFUSRetro_EN | @DOFUSRetro_ES | @DOFUSRetro_PTBR
749K Followers 132 Following🔥 Profitez des meilleurs #bonplan & erreurs de prix !
Alertes stock #PS5 #Xbox 🎮
Le CM en mode 🚀 pendant les #soldes / #BlackFriday
Maître Splinter 🐀 👑
145K Followers 1K FollowingLe quotidien d'une #CPE en collège. collectionneuse d'objets en tout genre.
Mes tweets sont 100% vrais Paris/Créteil/Versailles au choix.
845K Followers 230 Following✍️ L’information dans la seconde • 🗞️ Média indépendant • 🔔 Activez nos notifications pour ne rien manquer de l’actualité • 📩 [email protected]
25K Followers 800 Followingteaching how to code with AI on YouTube (55k) and growing https://t.co/fTYPFLiOpU, https://t.co/D4KpOqJH3c, https://t.co/8kNh4Z5WU0 to 10k MRR - 📧 [email protected]
281K Followers 233 FollowingBreaking aviation news and top videos/photos from the @aviationbrk team. All photos/videos credited if source known, ***DM for correction/removal*** ✈️
189K Followers 0 FollowingNom : Burger King • Surnom : BK • Naissance : 1954 (mais on est pas des boomers) • Taille : surtout la concu • Statut : Officiel
29K Followers 652 Following💡 Je partage les pépites du web au quotidien
⚡ https://t.co/8gw5ce4Ocp
🖼️ https://t.co/dX7V52tnvA
💻 https://t.co/eZUb5cYW68 (new✨)
2K Followers 87 FollowingRejoignez MCA, le point de convergence des luttes pour le respect et la dignité des animaux ✊
Les pétitions internationales : @mcaglobal_
546K Followers 328 Following🍀 Le 1er média 100% positif de France !
✨Chaque jour : des bonnes nouvelles, des parcours inspirants et des innovations à impact !
👉 Abonne-toi !
897 Followers 238 FollowingDéveloppeur web et joueur de poker
Membre du Stream Gang Winamax
Twitch Partner https://t.co/O9mzl6Kdo5
Youtube Partner https://t.co/sVHQ5K3ysF
21K Followers 254 Following🧵 Mode & pop culture : manga, jeu vidéo et costumes de film/série
👀 Pourquoi ils sont habillés comme ça ?
✉️ [email protected]