@maybe_riya where one piece of software touches (interacts with) another piece of software.
if UI is how a human interacts with the system, API is the "UI" of software-to-software interaction.
Ai isn’t going to replace programmers anytime soon
One programmer good at programming and Ai will replace a team of programmers though
The speed that I can build with Remix + co-pilot is kinda crazy, but it’s only as good as the first tokens I give it, and then it reads my mind
El Salvador used to be murder capitol of the world. Now it's the 2nd to safest country in the Western Hemisphere.
How did President Nayib Bukele do it?
He cracked down on crime and jailed more than 65,000 gang members.
El Salvador now has the world's highest incarceration rate by far and a national homicide rate that's down by 92%. His approval rating now stands at 90%.
The Bukele Model can and should be replicated everywhere. It works.
CSS Tip! 🚥
You can create these trending expanding scroll indicators with scroll-driven animations and flex 🤙
.indicator {
animation: grow;
animation-range: contain calc(50% - var(--size)...;
animation-timeline: var(--card);
}
@keyframes grow { 50% { flex: 3; }}
What's the trick? Put the indicators in a container using flex layout and set a width larger than the number of indicators 😉
.indicators {
aspect-ratio: 7 / 1;
display: flex;
}
Importantly, set no gap 🤏
To mimic the gap set a transparent border on each indicator and set the background using padding-box
.indicator {
background: linear-gradient(#fff, #fff) padding-box;
border-radius: 50px;
border: 4px solid transparent;
}
Now for the animation. You want to create a view-timeline for each card that moves across 🤙
li:nth-of-type(1) { view-timeline: --one inline; }
li:nth-of-type(2) { view-timeline: --two inline; }
Make sure they use the inline axis too!
The trick is hoisting these view-timeline so the indicators can use them with timeline-scope 👀
.track { timeline-scope: --one, --two, ...; }
All that's left is for you to create the animation piece using some calc with the card size ⚡️
.indicator {
--size: calc(var(--card-width) * 0.9);
animation: grow both linear;
animation-range:
contain calc(50% - var(--size))
contain calc(50% + var(--size));
}
.indicator:nth-of-type(1) { animation-timeline: --one; }
.indicator:nth-of-type(2) { animation-timeline: --two; }
@keyframes grow { 50% { flex: 3; }}
And there you have it, responsive scroll indicators using CSS scroll-driven animations 😎
Sprinkle a little JavaScript to make them clickable and scroll the the right card ✨
const shift = (event) => {
if (event.target.tagName === "BUTTON") {
const index = [...event.target.parentNode.children].indexOf(event.target);
const item = document.querySelector(`li:nth-of-type(${index + 1})`);
item.scrollIntoView({
behavior: "smooth",
inline: "center"
});
}
};
As always, any questions or suggestions, let me know. I've put a JavaScript fallback in to use GSAP in browsers that don't have scroll-driven animations 🫶
@CodePen link below! 👇
Linux file system explained.
The Linux file system used to resemble an unorganized town where individuals constructed their houses wherever they pleased. However, in 1994, the Filesystem Hierarchy Standard (FHS) was introduced to bring order to the Linux file system.
By implementing a standard like the FHS, software can ensure a consistent layout across various Linux distributions. Nonetheless, not all Linux distributions strictly adhere to this standard. They often incorporate their own unique elements or cater to specific requirements.
To become proficient in this standard, you can begin by exploring. Utilize commands such as "cd" for navigation and "ls" for listing directory contents. Imagine the file system as a tree, starting from the root (/). With time, it will become second nature to you, transforming you into a skilled Linux administrator.
Have fun exploring!
Over to you: which directory did you use most frequently?
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/uc5M7CdXXC
BEST STREAM EVER! 💚
- Kick Front Page
- Highest Minecraft Streamer
- Followed by Kick Staff
Shoutout to @kick@KickCommunity For the oppertunity! Shoutout @DaltWizneyTV letting me join #KickCraft & Shoutout Everyone in the server for being amazing! #KickStreaming 💚
If you just browse, watch Netflix, shop, net banking, etc, Linux distributions like Mint or Ubuntu could save you money. It is an environment-friendly option. Stop making drama.
Finished this HUGE library of amazing EDITABLE websites you can use for your next project!
Retweet + Like and comment "Link" for the Figma file!
#buildinpublic#uiux#DailyUI