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/
5
42
11,620
CSS by T. Afif retweeted
💡CSS Tip! Creating CSS Shapes is one of my favorite tasks, and now I can do something even better: Random CSS Shapes! Let's start with Blobs. css-tip.com/random-blob/ You never see the same shape twice. A unique shape for a unique experience! 👀
9
75
6,658
CSS by T. Afif retweeted
💡 CSS Tip! border-shape + border-area = The perfect combo 🪄 3 lines of code to create border-only shapes with gradient coloration. Absolutely any shapes, even the most complex ones! 👀 css-tip.com/gradient-shapes/
2
9
86
5,353
📝 New CSS Article! Learn how I used Scroll-Driven Animations and other modern features to extract various information for a CSS grid. blog.master.dev/extracting-g… Another article to show that CSS is more than a simple set of properties/values.
1
2
38
1,862
CSS by T. Afif retweeted
Ready for another CSS-only diagram? This time, I am trying another connector type. It sticks to the selected sides, regardless of the node's position. css-tip.com/node-connection-… Look how the lines get distorted! 👀 Another cool demo powered by modern CSS features!
A diagram with various nodes and connectors? Yes, doable with pure CSS. Another demo powered by modern features! css-tip.com/node-connection/ Regardless of the node's position, the connectors will adjust their shape and position for optimal connection 👀
8
65
4,577
Combining the content property with if() is pretty handy for conditionally displaying information. If an element spans one column or one row, don't show the "end" value
Getting information from a simple grid is good, but what about a complex one where the items are randomly placed? 👀 css-tip.com/grid-information… A fancy demo powered by Scroll-Driven Animations and more! All the values are calculated and displayed using only CSS.
1
4
24
2,853
Yes, it's responsive. All the values are updated on screen/container resize!
Getting information from a simple grid is good, but what about a complex one where the items are randomly placed? 👀 css-tip.com/grid-information… A fancy demo powered by Scroll-Driven Animations and more! All the values are calculated and displayed using only CSS.
12
73
4,508
Getting information from a simple grid is good, but what about a complex one where the items are randomly placed? 👀 css-tip.com/grid-information… A fancy demo powered by Scroll-Driven Animations and more! All the values are calculated and displayed using only CSS.
An interactive demo showing how all the values adjust in real time as the grid is resized. codepen.io/t_afif/full/vEgqg… via @CodePen All the values are integers, so you can use counters to display them
2
34
10,180
CSS by T. Afif retweeted
📝 New CSS Article! Do you want to know how I made that cool hover effect? Read my latest article 👇 blog.master.dev/hover-proxim… I am showing you what programming* with CSS looks like when you combine the modern features! *yes, I said the forbidden word
A responsive CSS grid, some Scroll-Driven Animations, and a touch of magic. The perfect recipe for a cool CSS-only hover effect! 🤩 css-tip.com/hover-proximity/ One fancy demo (among many) we can create using modern CSS.
7
28
2,134
Targeting the elements of the same row and same column; a classic. Demo: codepen.io/t_afif/full/WbRVv… via @CodePen
A responsive CSS grid, some Scroll-Driven Animations, and a touch of magic. The perfect recipe for a cool CSS-only hover effect! 🤩 css-tip.com/hover-proximity/ One fancy demo (among many) we can create using modern CSS.
1
2
22
2,195
Move away, give me some space to grow! Demo: codepen.io/t_afif/full/YPNmX…
A responsive CSS grid, some Scroll-Driven Animations, and a touch of magic. The perfect recipe for a cool CSS-only hover effect! 🤩 css-tip.com/hover-proximity/ One fancy demo (among many) we can create using modern CSS.
1
1
12
1,097
CSS by T. Afif retweeted
Tiny little stateful viewports broadcasting, lol I love it 🤘💀
A responsive CSS grid, some Scroll-Driven Animations, and a touch of magic. The perfect recipe for a cool CSS-only hover effect! 🤩 css-tip.com/hover-proximity/ One fancy demo (among many) we can create using modern CSS.
2
20
4,465
A responsive CSS grid, some Scroll-Driven Animations, and a touch of magic. The perfect recipe for a cool CSS-only hover effect! 🤩 css-tip.com/hover-proximity/ One fancy demo (among many) we can create using modern CSS.
1
4
57
12,150
An interactive demo showing how all the values adjust in real time as the grid is resized. codepen.io/t_afif/full/vEgqg… via @CodePen All the values are integers, so you can use counters to display them
💡 CSS Tip! Using modern CSS, it is now easy to extract information from a responsive grid. You can get the number of columns, the number of rows, and item coordinates. css-tip.com/grid-information… A handy code to save for (hopefully) the near future.
2
3
40
4,575
💡 CSS Tip! Using modern CSS, it is now easy to extract information from a responsive grid. You can get the number of columns, the number of rows, and item coordinates. css-tip.com/grid-information… A handy code to save for (hopefully) the near future.
2
23
146
10,377