A tool designed to intuitively generate spring animations for CSS linear(). Includes presets and customizable inputs for perceptual duration and bounce.
💡 CSS Tip! Save this one line of code for the future!
https://t.co/0Y2EdUyk3s No more hacky code trying to remove those spaces above and below an uppercase text. You can easily have a perfect centering for the text! pic.twitter.com/KRjZ5hy20F— CSS by T. Afif (@ChallengesCss) February 24, 2025
В веб-дизайны сетки, как в Pinterest уже давно не являются чем-то новым. Но что, если нужно сделать блоки различной высоты, при этом сохранив адаптивность. Оказывается, это можно сделать, используя...
You can create a progressive blur effect using a single div and just 2 properties. Works best when your div is placed over an image and is more efficient than stacking multiple elements with increasing blur.
— Moritz Petersen (@moritzpetersen)
12 Modern CSS One-Line Upgrades | Modern CSS Solutions
Sometimes, improving your application CSS just takes a one-line upgrade or enhancement! Learn about 12 properties to start incorporating into your projects, and enjoy reducing technical debt, removing JavaScript, and scoring easy wins for user experience.
Pure CSS way for creating album backdrops 🤓How it works 🧵👇 https://t.co/1gMmrChGqg pic.twitter.com/fWneA5hfHw— Artur Bień (@artur_bien) January 26, 2024
CSS Trick! ⚡️You can create gradient borders by using transparent borders 👀 No extra elements 🤙article { background: // layer them up with different origin! linear-gradient(var(--bg), var(--bg)) padding-box, var(--gradient) border-box; border: 4px solid… pic.twitter.com/zqkkjwFbgt— jhey ▲🐻🎈 (@jh3yy) October 13, 2023
We can detect if text input has value by using `:placeholder-shown` pseudo class. This little trick can then be used to create CSS only floating labels.
Recently Sacha Greif challenged his Twitter followers to code a fancy highlighter effect using only CSS. Guess what? I took the bait and started coding!