vite.dev/blog/announc...
vite.dev/blog/announc...
taking the CSS container query for stuck position: sticky elements for a spin 🔥
nav { container-type: scroll-state; }
@container scroll-state(stuck: top) {
.nav__content { --expand: 1; }
}
trick here is to transition grid-template-columns with the custom property value to morph
taking the CSS container query for stuck position: sticky elements for a spin 🔥
nav { container-type: scroll-state; }
@container scroll-state(stuck: top) {
.nav__content { --expand: 1; }
}
trick here is to transition grid-template-columns with the custom property value to morph
Can you guess how exactly I did this before checking the
@codepen.io demo?
Enjoy 🪄 codepen.io/thebabydino/...
Can you guess how exactly I did this before checking the
@codepen.io demo?
Enjoy 🪄 codepen.io/thebabydino/...
- React
- Accesibilidad
- PHP
- CSS
- SQL
- Typescript
- ¡Muchos más!
- React
- Accesibilidad
- PHP
- CSS
- SQL
- Typescript
- ¡Muchos más!
h/t u/Fear_Jaire
h/t u/Fear_Jaire