Web design source code
900 subscribers
235 photos
71 videos
82 files
44 links
Advertisements Contact meπŸ‘‡πŸ»
@We_D5
design web
source code free
https://t.iss.one/Web_design3
Download Telegram
πŸ”° Learn Rest API in 2 minutes
❀2
πŸ”… CSS: Emmet for CSS
❀2πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ”§ CSS TIP
Use trigonometric functions in CSS to create a smooth stepped transition delay:

.character {
transition-delay:
calc(sin((var(--index) / 12) * 45deg) * 0.475s);
}
❀2
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ‘¨β€πŸŽ¨ CSS TIP

shape-outside property in action

.column--left .shape {
float: right;
shape-outside: circle(100px at 100% 50%);
}
❀1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ”§ CSS TIP

Typing effect

<div class="wrapper">
<div class="typing-demo">CSS Tips for you!</div>
</div>


.typing-demo {
width: 17ch; /* Adjust based on the length of your text /
animation: typing 12s steps(17) infinite, blink 0.5s step-end infinite alternate;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid;
font-family: monospace;
font-size: 2rem;
}

/ Typing and erasing animation /
@keyframes typing {
0% { width: 0; }
35% { width: 17ch; } / 4s for typing (1/3 of 12s) /
70% { width: 17ch; } / 5s pause (adding up to 8.4s) /
100% { width: 0; } / 3.6s for erasing (remaining time) /
}

/ Blinking cursor animation */
@keyframes blink {
50% { border-color: transparent; }
}
❀2
This media is not supported in your browser
VIEW IN TELEGRAM
Do you know how to name React components using the Base + Composite + Suffix pattern?

You can use this pattern to create clear and consistent component names in your projects.

#React
❀1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ’Ž REACT Tips
Rendering can be avoided by rethinking the component structure and using composition (see gif).

#React
❀1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ€“ Use TypeScript utilities like Omit to create more reusable and adaptable components
❀1