CSS by T. Afif

6K posts

CSS by T. Afif banner
CSS by T. Afif

CSS by T. Afif

@ChallengesCss

💡 https://t.co/xk3TRqX1f1 🧩 https://t.co/4jGcDxtd38 💫 https://t.co/lRAAxfrQ09 📝 https://t.co/oOgtxdf5i9 ⚙️ https://t.co/UtXPa9iUiT 🏆 https://t.co/KgsRpeby7Q 🎨 https://t.co/0bhdtiVFTU 🎨 https://t.co/sZ8q2fgRBB

💰 Support Me ⮕ Katılım Nisan 2021
123 Takip Edilen14.1K Takipçiler
Sabitlenmiş Tweet
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
If you don't know, my CSS Tip website is open to advertisers. Don't miss the opportunity to promote your product and support my work! Reach a wide audience of passionate web developers (~14.000 active users per month) starting from 150$/month. css-tip.com/advertise/
English
0
5
41
10.6K
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
💡 CSS Tip! Create an interactive image slider with speed control using a few lines of code and no image duplication. css-tip.com/interactive-sl… A CSS-only implementation powered by modern features (shape(), sibling-index()/count(), animation-composition, etc.)
English
1
9
67
2.3K
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
@ZahidHa45112113 It's responsive. You can remove the max-width from the container and increase its size and the gap between images will increase. There is the --n variable that control how many images are visible at the same time. It can be any value between 1 and N-1 (N: total number of images)
English
0
0
1
56
Developer Zahid
Developer Zahid@ZahidHa45112113·
@ChallengesCss @ChallengesCss What if I don’t have enough items to fill the container, but I still need an infinite loop with equal gaps between all items? How would this work?
English
1
0
0
55
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
📝 New CSS article! I am exploring a few CSS tricks for controlling infinite animations. The first article is live. frontendmasters.com/blog/how-to-co… You will be surprised, but it's all about features that are quite old and widely supported for a while (like animation-composition)
English
0
9
46
2K
CSS by T. Afif retweetledi
Frontend Masters 💻✨
Frontend Masters 💻✨@FrontendMasters·
How to Control Infinite CSS Animations (Part 1 of 2) Something like manipulating the speed of an animation isn't a big deal, but it's harder when the animation is *already running*. We got tricks. frontendmasters.com/blog/how-to-co…
English
0
2
19
2.9K
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
Here is an overview of the CSS code. Fewer than 10 lines of code, and it works with any animation. You will find another code with better browser support to replace the usage of if() 👇
CSS by T. Afif tweet media
CSS by T. Afif@ChallengesCss

💡 CSS Tip! Do you want to control the speed of an infinite animation on hover (or any other interactions)? It's possible with a simple code. css-tip.com/speed-control/ Accelerate, slow down, stop, move in the opposite direction. One CSS variable to set and it's done!

English
0
8
62
6.1K
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
Another demo with an infinite marquee animation codepen.io/t_afif/full/Qw… via @CodePen Hover to accelerate, slow down, or change the direction.
CSS by T. Afif@ChallengesCss

💡 CSS Tip! Do you want to control the speed of an infinite animation on hover (or any other interactions)? It's possible with a simple code. css-tip.com/speed-control/ Accelerate, slow down, stop, move in the opposite direction. One CSS variable to set and it's done!

English
0
5
29
2.2K
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
@NejatCanUnlu I actually have from 0 to V1 (and vice versa) that I will share soon but I will also think about V1 to V2
English
0
0
0
10
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
💡 CSS Tip! Do you want to control the speed of an infinite animation on hover (or any other interactions)? It's possible with a simple code. css-tip.com/speed-control/ Accelerate, slow down, stop, move in the opposite direction. One CSS variable to set and it's done!
English
1
4
26
9.8K
Nejat Can Ünlü
Nejat Can Ünlü@NejatCanUnlu·
@ChallengesCss Great share as always! Do you have a magic method to ramp animation speed up and down smoothly with pure CSS?
English
1
0
1
70
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
A tooltip that follows the anchor when you drag it ... I said: follow the anchor! Come on, lazy tooltip! ... Yes, in that direction, move move ... More energy, please! You are a tooltip, that's your job. 😡 css-tip.com/lazy-tooltip/
English
1
9
53
4.5K
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
💡 CSS Tip! You have the code of a CSS shape and you want its cutout version? Learn how to do it with a simple code. css-tip.com/invert-shape/
CSS by T. Afif tweet media
English
0
5
22
1.3K