
CSS by T. Afif
@ChallengesCss
Followers
13K
Following
10K
Media
1K
Statuses
6K
💡 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 ⮕
Joined April 2021
We can also create a custom function and make the code easier to use. ⚠️ No browser support yet, but it's on the way! ⚠️
💡 CSS Tip!. Using modern CSS such as sibling-index() and if(), you can re-create the :nth-child(An + B) selector. Why? To easily update A and B since now they are variables! I know some of you are in the team: "How to update nth-child() with CSS ?!"
3
1
27
RT @ChallengesCss: 💡 CSS Tip!. Because the new sibling-*() functions are verbose and sibling-index() is 1-indexed, I wrote my own functions….
0
10
0
RT @ChallengesCss: Playing with modern CSS (sibling-index(), sibling-count(), @stating-style, @property, mask, math, etc) 🤩 https://t.co/….
0
15
0
RT @ChallengesCss: 📝 New CSS Article!. Closing this series with a fourth part where I am exploring two more shape() commands. https://t.co….
0
4
0
RT @ChallengesCss: CSS Functions will soon be available, and it's time to confuse JS developers (and maybe backend developers) a bit. No,….
0
19
0
You can try it using the latest version of chrome with the flag "Experimental Web Platform features" enabled. Demo: via @CodePen.
0
0
1
RT @ChallengesCss: 💡 CSS Tip!. You created a CSS shape using shape(), and you want to invert it? Easy! With a few lines of code, you have b….
0
10
0
RT @ChallengesCss: Recreating the classic 3 dots loader using shape() because why not. Powered by @property and CSS variables. https://t.….
0
2
0
RT @ChallengesCss: 📝 New CSS Article!. Guess who's writing again about CSS shapes? 🫣. This time, I am exploring the corner-shape property.….
0
9
0
RT @FrontendMasters: Drawing CSS Shapes using corner-shape . After you've got a `border-radius`, you can control the shape of the corner wi….
0
7
0
📝 New CSS Article!. Guess who's writing again about CSS shapes? 🫣. This time, I am exploring the corner-shape property. A new tool to easily draw shapes. ⚠️ No browser support yet but a good opportunity to know about this powerful feature!.
💡 CSS Tip!. Save this code for the future. It will be the easiest way to create hexagon shapes and . 🥁🥁🥁 . it works with border! 🤩. The magic? The new corner-shape property!
3
9
34