im working on the next billion dollar VC backed css library for sure
who needs tailwind when you can just have a builder style CSSProperties object instead? this is gonna be SO good on god fr fr
Don't do it - tailwind is useless at the O(N) layers of your app and just adds unnecessary complexity. Build a nice UI/layout library out of raw CSSProperties and you're good.
jquery was from when “add this UI element to the homepage” was done by logging into a web version of PhpMyAdmin and literally pasting jquery.min.js in and then doing $(“.modal”).animate().
.animate({ …cssProperties }) was the original JSX.
The `className` and `style` props let clients mess with the implementation details of your #React components. Two suggestions:
1. Don't expose a `className` prop.
2. Type the `style` prop as some subset of `CSSProperties` that is less likely to break your component.
¿Sabes cómo ajustar imágenes y videos dentro de elementos de diseño de diferentes tamaños sin deformarlos ni dejar espacios en blanco? ¡Con la propiedad CSS "object-fit" puedes hacerlo! 🤩
🧵 1/4
#css#cssdesign#cssproperties#cssguru#css3#cssfonts#cssimages
Day 06/100: Some More #CSSProperties
Today, I started learning about Opacity & The Alpha Channel, going well.
But when jumped to ‘CSS Position Property - Static, Relative, Absolute, Fixed & Sticky’. I couldn't understand 'Absolute' one perfectly.
#100DaysOfCode#WebDev#CSS
Anambra Techies 90 days challenge!!!
Yay, the challenge begins today 😊
Are you ready for growth?
To participate, do the following:
Retweet this post.
Share what you learned each day starting today.
Use the hashtags below in your tweet.
#ATC90dayschallenge#Anambratechfest
Finally we are able to only care about the VALUES of an object, without losing type support for the KEYS 🎉
... satisfies Record<unknown, CSSProperties>