Illustrations can make or break your website.
Here are 8 illustration websites that I can't get enough of lately:
→ https://t.co/5Hs3fygWax
→ https://t.co/amVk9abbOD
→ https://t.co/32KiiP2xCK
→ https://t.co/t0IrgyW7SX
→ https://t.co/JL7K09cq5p
→ https://t.co/CpcFeivVLB
→ https://t.co/Cj31mhJoqI
→ https://t.co/B2hwgnLawX
CSS Trick! ⭐️
You can animate your gradient borders by defining types for your custom properties with @ property 🔥
1. Define a property
@ property --angle {
syntax: '<angle>'; /* 👈 type angle*/
inherits: true;
initial-value: 0deg;
}
2. Animate the value
article {
animation: rotate 2s infinite linear paused;
}
@ keyframes rotate { to { --angle: 360deg; } }
3. Use the value in your conic-gradient background.
article {
--gradient: conic-gradient(from var(--angle), ...);
background:
linear-gradient(var(--bg), var(--bg)) padding-box,
var(--gradient) border-box;
border: 4px solid transparent;
}
4. Change the play state to running on :hover, etc.
article:is(:hover, :focus-within) {
animation-play-state: running;
}
That's it! 🤙
As soon as Firefox 120 lands, this one will work in all browsers! 🙌 Until then, it's a progressive enhancement. You will still get the brightening of the border on hover, etc. That's handled with a pseudo-element ✨
@CodePen link below! 👇
@Shadow_France J'aimerais bien, mais je suis en train d'attendre depuis plus que 12h que le basculement se fasse (au lieu des 30min à une heure) 😒 Et bien évidemment le support reste muet
Problème de débit sur le réseau fibre de @SFR à #perpignan, 12Mb/s en téléchargement (comparé à 200Mb/s en upload), qui d'autre ? @SFR_SAV
#sfr#panne#fibre#débit
Je viens de payer 80€ pour ouvrir une ligne, prendre un portable, etc (la totale quoi) et puis erreur technique, j'était débité (preuve sur l'app de ma banque), mais aucune trace sur l'espace client 😱😡 #sfr