Web design source code
899 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
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
This media is not supported in your browser
VIEW IN TELEGRAM
🧡Creating an animated background in text

To create a beautiful background for text, use the background-image property, which takes a value in the form of a photo, or a link to any photo or video via url()

β€’ color: transparent β€” makes the text transparent. This is necessary so that the text is visible only due to the background image.

β€’ -moz-background-clip and -webkit-background-clip are special properties for other browsers that limit the display of the background image to the text area only.

h1 {
font-family: sans-serif;
text-align: center;
font-size: 80px;
font-weight: 800;
text-transform: uppercase;
background-image: url(https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExYTlmN2h0MnhhNHFqcDFwaWYxMXd0NjlrZTE0NDBoY3N0M2hiNnY5ayZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/XQsEy59pNgaVu6QlGi/giphy-downsized-large.gif);
background-size: cover;
color: transparent;
-moz-background-clip: text;
-webkit-background-clip: text;
}
❀1
This media is not supported in your browser
VIEW IN TELEGRAM
🀯 Do you know this GitHub hack?

1️⃣ Open any GitHub repository
2️⃣ Replace .com with .dev
3️⃣ View the repository code in a VS Code instance!

And yes, you can just press the "." button on your keyboard.
❀2