Building beautiful websites doesn’t have to be a grind... these online CSS tools are like secret weapons for any developer.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤36🔥8👍3
Please open Telegram to view this post
VIEW IN TELEGRAM
❤22👍1
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4
Ex_Files_Extending_Figma_Design.zip
342.8 MB
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4
This media is not supported in your browser
VIEW IN TELEGRAM
In CSS, the ch unit defines the width of a single character. The reason we are using a monospace font is because they have the same width for any character 😁
We use a simple key frame animation to automate the width of the element from 0 to some max size of the text.
✨ The steps animation timing function is important, because it enables to set the width in a staggered manner (1ch, 2ch, 3ch, etc) and not a continuous smooth way
✨ We also disable text wrapping so that the text is presented in a single line irrespective of the width - which is important for this effect
Please open Telegram to view this post
VIEW IN TELEGRAM
❤25👍5🔥1
Default browser highlights in auto-filled fields can clash with a site’s design. By leveraging the
:-webkit-autofill pseudo-class, developers can override these styles and ensure consistent branding across modern browsers.Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❤31👍4
Please open Telegram to view this post
VIEW IN TELEGRAM
❤58🔥17👍13
Please open Telegram to view this post
VIEW IN TELEGRAM
❤21🔥2
Please open Telegram to view this post
VIEW IN TELEGRAM
❤14👍2🔥1
Once you start using it in different contexts, you realize it’s a small tweak that can make a big difference in user experience, design aesthetics, and even performance optimization.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤32👍6
Assume you have a 5x5 grid in CSS. There are items spanning different sizes, but no fixed to any specific position.
🤩 For such cases, using a "dense" mode for grid-auto-flow property allows you to "fill in the gaps" created by previous elements, by pushing latter elements that fit into the gap
🖼 This could be helpful for things like an image gallery, where you have random sizes of elements
📁 Sample code snippet:
🤩 For such cases, using a "dense" mode for grid-auto-flow property allows you to "fill in the gaps" created by previous elements, by pushing latter elements that fit into the gap
🖼 This could be helpful for things like an image gallery, where you have random sizes of elements
.grid {
grid-template-rows: repeat(5, 10rem);
grid-template-columns: repeat(5, 10rem);
}
.item-2 {
grid-row-end: span 2;
grid-column-end: span 2;
}Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❤24👍5🔥2
Please open Telegram to view this post
VIEW IN TELEGRAM
👍10❤8
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1❤59👍11🔥1